Snippets Collections
virtualenv env

# linux
source env/bin/activate

#windows
env\Scripts\activate.bat

deactivate
>>> mydict = {'one': [1,2,3], 2: [4,5,6,7], 3: 8}

>>> dict_df = pd.DataFrame({ key:pd.Series(value) for key, value in mydict.items() })

>>> dict_df

   one  2    3
0  1.0  4  8.0
1  2.0  5  NaN
2  3.0  6  NaN
3  NaN  7  NaN
const elementIsVisibleInViewport = (el, partiallyVisible = false) => {
  const { top, left, bottom, right } = el.getBoundingClientRect();
  const { innerHeight, innerWidth } = window;
  return partiallyVisible
    ? ((top > 0 && top < innerHeight) || (bottom > 0 && bottom < innerHeight)) &&
        ((left > 0 && left < innerWidth) || (right > 0 && right < innerWidth))
    : top >= 0 && left >= 0 && bottom <= innerHeight && right <= innerWidth;
};

// Examples
elementIsVisibleInViewport(el); // (not fully visible)
elementIsVisibleInViewport(el, true); // (partially visible)
df.set_index(KEY).to_dict()[VALUE]

3 ways:
dict(zip(df.A,df.B))
pd.Series(df.A.values,index=df.B).to_dict()
df.set_index('A').to_dict()['B']
class ChangeDefaultvalueForHideSeasonSelector < ActiveRecord::Migration 
  def change 
    change_column_default :plussites, :hide_season_selector, true 
  end
end
function validateEmail(email) 
    {
        var re = /\S+@\S+\.\S+/;
        return re.test(email);
    }
    
console.log(validateEmail('anystring@anystring.anystring'));
Escapes or unescapes a JSON string removing traces of offending characters that could prevent parsing.

The following characters are reserved in JSON and must be properly escaped to be used in strings:

Backspace is replaced with \b
Form feed is replaced with \f
Newline is replaced with \n
Carriage return is replaced with \r
Tab is replaced with \t
Double quote is replaced with \"
Backslash is replaced with \\
const AWS = require('aws-sdk')

// Configure client for use with Spaces
const spacesEndpoint = new AWS.Endpoint('nyc3.digitaloceanspaces.com');
const s3 = new AWS.S3({
    endpoint: spacesEndpoint,
    accessKeyId: 'ACCESS_KEY',
    secretAccessKey: 'SECRET_KEY'
});

// Add a file to a Space
var params = {
    Body: "The contents of the file",
    Bucket: "my-new-space-with-a-unique-name",
    Key: "file.ext",
};

s3.putObject(params, function(err, data) {
    if (err) console.log(err, err.stack);
    else     console.log(data);
});
document.querySelectorAll('img')
    .forEach((img) =>
        img.addEventListener('load', () =>
            AOS.refresh()
        )
    );
<div class="container h-100">
    <div class="row align-items-center h-100">
        <div class="col-6 mx-auto">
            <div class="jumbotron">
                I'm vertically centered
            </div>
        </div>
    </div>
</div>
$(window).bind("pageshow", function() {
    var form = $('form'); 
    // let the browser natively reset defaults
    form[0].reset();
});
$("#slideshow > div:gt(0)").hide();

setInterval(function() { 
  $('#slideshow > div:first')
    .fadeOut(1000)
    .next()
    .fadeIn(1000)
    .end()
    .appendTo('#slideshow');
},  3000);
V3D predictedRPY = qt.ToEulerRPY();
float predictedRoll = predictedRPY.x;
float predictedPitch = predictedRPY.y;
ekfState(6) = (float)predictedRPY.z; // yaw
$test = collect([
   [
     'key1' => ['value1' => 5, 'value2' => 3, 'value3' => 0],
     'key2' => ['value1' => 1, 'value2' => 6, 'value3' => 2],
     'key3' => ['value1' => 0, 'value2' => 0, 'value3' => 1],
   ],

   [
     'key1' => ['value1' => 3, 'value2' => 1, 'value3' => 7],
     'key2' => ['value1' => 1, 'value2' => 3, 'value3' => 2],
     'key3' => ['value1' => 1, 'value2' => 6, 'value3' => 1],
   ],

   [
     'key1' => ['value1' => 2, 'value2' => 3, 'value3' => 9],
     'key2' => ['value1' => 3, 'value2' => 8, 'value3' => 3],
     'key3' => ['value1' => 1, 'value2' => 0, 'value3' => 6],
   ]
]);
$mappedCollection = collect($test->first())->keys()->mapWithKeys(function($item,$key) use($test){
   return[
      $item => $test->map(function ($mapItem, $mapKey) use($item) {         
         return $mapItem[$item];
      })
   ];
})->mapWithKeys(function($item,$key){
   $eachLine = collect($item->first())->keys()->mapWithKeys(function($mapItem) use($item){
      return[ $mapItem => $item->sum($mapItem)  ];
   });       
   return [$key =>  $eachLine];
})->all();

dd($mappedCollection);
<h1 class="ribbon">
   <strong class="ribbon-content">Everybody loves ribbons</strong>
</h1>
<?php
/**
 * Titlebar template.
 *
 * @author     ThemeFusion
 * @copyright  (c) Copyright by ThemeFusion
 * @link       https://theme-fusion.com
 * @package    Avada
 * @subpackage Core
 */

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'Direct script access denied.' );
}
?>
<?php $backgroundImg = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );?>
<div class="fusion-page-title-bar fusion-page-title-bar-<?php echo esc_attr( $content_type ); ?> fusion-page-title-bar-<?php echo esc_attr( $alignment ); ?>" style="background: url('<?php echo $backgroundImg[0]; ?>') no-repeat center center; ">
	<div class="fusion-page-title-row">
		<div class="fusion-page-title-wrapper">
			<div class="fusion-page-title-captions">

				<?php if ( $title ) : ?>
					<?php // Add entry-title for rich snippets. ?>
					<?php $entry_title_class = ( Avada()->settings->get( 'disable_date_rich_snippet_pages' ) && Avada()->settings->get( 'disable_rich_snippet_title' ) ) ? 'entry-title' : ''; ?>
					<h1 class="<?php echo esc_attr( $entry_title_class ); ?>"><?php echo $title; // phpcs:ignore WordPress.Security.EscapeOutput ?></h1>

					<?php if ( $subtitle ) : ?>
						<h3><?php echo $subtitle; // phpcs:ignore WordPress.Security.EscapeOutput ?></h3>
					<?php endif; ?>
				<?php endif; ?>

				<?php if ( 'center' === $alignment ) : // Render secondary content on center layout. ?>
					<?php if ( 'none' !== fusion_get_option( 'page_title_bar_bs' ) ) : ?>
						<div class="fusion-page-title-secondary">
							<?php echo $secondary_content; // phpcs:ignore WordPress.Security.EscapeOutput ?>
						</div>
					<?php endif; ?>
				<?php endif; ?>

			</div>

			<?php if ( 'center' !== $alignment ) : // Render secondary content on left/right layout. ?>
				<?php if ( 'none' !== fusion_get_option( 'page_title_bar_bs' ) ) : ?>
					<div class="fusion-page-title-secondary">
						<?php echo $secondary_content; // phpcs:ignore WordPress.Security.EscapeOutput ?>
					</div>
				<?php endif; ?>
			<?php endif; ?>

		</div>
	</div>
</div>
<!DOCTYPE html>
<html>
<head>
    <title>Demo: Lazy Loader</title>
    <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
    <style>
        #myScroll {
            border: 1px solid #999;
        }

        p {
            border: 1px solid #ccc;
            padding: 50px;
            text-align: center;
        }

        .loading {
            color: red;
        }
        .dynamic {
            background-color:#ccc;
            color:#000;
        }
    </style>
    <script>
		var counter=0;
        $(window).scroll(function () {
            if ($(window).scrollTop() == $(document).height() - $(window).height() && counter < 2) {
                appendData();
            }
        });
        function appendData() {
            var html = '';
            for (i = 0; i < 10; i++) {
                html += '<p class="dynamic">Dynamic Data :  This is test data.<br />Next line.</p>';
            }
            $('#myScroll').append(html);
			counter++;
			
			if(counter==2)
			$('#myScroll').append('<button id="uniqueButton" style="margin-left: 50%; background-color: powderblue;">Click</button><br /><br />');
        }
    </script>
</head>
<body>
    <div id="myScroll">
        <p>
            Contents will load here!!!.<br />
        </p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
        <p >This is test data.<br />Next line.</p>
    </div>
</body>
</html>
<!--logo and text (title) -->
<nav class="navbar navbar-light bg-light">
  <a class="navbar-brand" href="#">
    <img src="/assets/startupcache_logo.svg" width="90" height="90" class="d-inline-block align-top" alt="">
    Startup Cache
  </a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
  <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse" id="navbarNav">
  	<ul class="navbar-nav">
    	<li class="nav-item active">
        	<a class="nav-link" id="about-link" href="/templates/about.html">About</a>
        </li>
    </ul>
  </div>
</nav>
var t0 = performance.now();

for (let i = 0; i < 10000; i++) {   
    // Do stuff here 
}  

// Do some other stuff here

var t1 = performance.now();
console.log("Call to doSomething took " + (t1 - t0) + " ms.")
 .lower-canvas {
                width: 100% !important;
                height: 100% !important;
                position: relative !important;  
            }
            .upper-canvas {
                width: 100% !important;
                height: 100% !important;
                position: absolute !important;
            }
            .canvas-container {
                width: 100% !important;
                height: auto !important;
                border-radius: 20px;
            }
<div id="slideshow">
   <div>
     <img src="//farm6.static.flickr.com/5224/5658667829_2bb7d42a9c_m.jpg">
   </div>
   <div>
     <img src="//farm6.static.flickr.com/5230/5638093881_a791e4f819_m.jpg">
   </div>
   <div>
     Pretty cool eh? This slide is proof the content can be anything.
   </div>
</div>
<div id="kitten" style="background-image: url(dog.jpg);">
  <img src="/images/kitten.jpg" alt="Kitten" />
</div>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js?ver=1.3.2'></script>
<script type='text/javascript' src='/js/jquery.mousewheel.min.js'></script>
delete(item){
  if(!this.has(item)){
    return false
  }
  delete items[item]
  size--
  return true
}
<ul>
  <li>one</li>
  <li>two</li>
  <li>three</li>
</ul>
(function() {
    
    var mX, mY, distance,
        $distance = $('#distance span'),
        $element  = $('#element');

    function calculateDistance(elem, mouseX, mouseY) {
        return Math.floor(Math.sqrt(Math.pow(mouseX - (elem.offset().left+(elem.width()/2)), 2) + Math.pow(mouseY - (elem.offset().top+(elem.height()/2)), 2)));
    }

    $(document).mousemove(function(e) {  
        mX = e.pageX;
        mY = e.pageY;
        distance = calculateDistance($element, mX, mY);
        $distance.text(distance);         
    });

})();
(function($) {
    
  var allPanels = $('.accordion > dd').hide();
    
  $('.accordion > dt > a').click(function() {
    allPanels.slideUp();
    $(this).parent().next().slideDown();
    return false;
  });

})(jQuery);
jQuery.extend({

  getQueryParameters : function(str) {
	  return (str || document.location.search).replace(/(^\?)/,'').split("&").map(function(n){return n = n.split("="),this[n[0]] = n[1],this}.bind({}))[0];
  }

});
// Replace source
$('img').on("error", function() {
  $(this).attr('src', '/images/missing.png');
});

// Or, hide them
$("img").on("error", function() {
  $(this).hide();
});
$(document).on('click', 'a[href^="#"]', function (event) {
    event.preventDefault();

    $('html, body').animate({
        scrollTop: $($.attr(this, 'href')).offset().top
    }, 500);
});
.dynamic-shadow {

  position: relative;

  width: rem;

  height: 10rem;

  background: linear-gradient(5deg, #d7ff, #00ffb8);
6
  z-index: 1;
7
}
8
.dynamic-shadow::after {

  content: '';
10
  width: 100%;

  height: 100%;

  position: absolute;

  background: inherit;

  top: 0.5rem;

  filter: blur(0.4rem);

  opacity: 0.7;

  z-index: -1;

}

​
private Entity RetrieveEntityById(IOrganizationService service, string strEntityLogicalName, Guid guidEntityId)

       {

           Entity RetrievedEntityById= service.Retrieve(strEntityLogicalname, guidEntityId, newColumnSet(true)); //it will retrieve the all attrributes

           return RetrievedEntityById;

       }

How to call?

Entity entity = RetrieveEntityById(service, "account", guidAccountId);
post_max_size = 750M 
upload_max_filesize = 750M   
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M
$('iframe').attr('src', $('iframe').attr('src'));
db.Foo.aggregate(
  {$unwind: "$bars"},
  {$lookup: {
    from:"bar",
    localField: "bars",
    foreignField: "_id",
    as: "bar"

   }},
   {$match: {
    "bar.testprop": true
   }}
)
# result and path should be outside of the scope of find_path to persist values during recursive calls to the function
result = []
path = []
from copy import copy

# i is the index of the list that dict_obj is part of
def find_path(dict_obj,key,i=None):
    for k,v in dict_obj.items():
        # add key to path
        path.append(k)
        if isinstance(v,dict):
            # continue searching
            find_path(v, key,i)
        if isinstance(v,list):
            # search through list of dictionaries
            for i,item in enumerate(v):
                # add the index of list that item dict is part of, to path
                path.append(i)
                if isinstance(item,dict):
                    # continue searching in item dict
                    find_path(item, key,i)
                # if reached here, the last added index was incorrect, so removed
                path.pop()
        if k == key:
            # add path to our result
            result.append(copy(path))
        # remove the key added in the first line
        if path != []:
            path.pop()

# default starting index is set to None
find_path(di,"location")
print(result)
# [['queryResult', 'outputContexts', 4, 'parameters', 'DELIVERY_ADDRESS_VALUE', 'location'], ['originalDetectIntentRequest', 'payload', 'inputs', 0, 'arguments', 0, 'extension', 'location']]
file = "#{Rails.root}/public/users.csv"
headers = ["Name", "Company Name", "Email", "Role", "Team Name"]
CSV.open(file, 'w', write_headers: true, headers: headers) do |writer|
    Team.all.each do |team|
      team.users.each do |user|
        writer << [user.name, user.company_name , user.email, user.roles&.first&.name, team.name]
      end
    end
  end
{
  "name": "My extension",
  ...
  "content_scripts": [
    {
      "matches": ["http://*.nytimes.com/*"],
      "exclude_matches": ["*://*/*business*"],
      "js": ["contentScript.js"]
    }
  ],
  ...
}
 add_filter( 'jetpack_sharing_counts', '__return_false', 99 );
add_filter( 'jetpack_implode_frontend_css', '__return_false', 99 );
                                
People = 30
Cars = 40
Trucks = 14
# line 1,2,3 assign the value to variables
If cars > people: Using if statement
  Print(“we should take the  cars.”)
Elif cars < people: if 1st is false execute elif
  print(“we should not take the car.”)
else : # if both are false then execute else:
    print(“we can’t decide.”)
                               
                                
n = 2

s ="Programming"

print(s * n) # ProgrammingProgramming
String fileFullPath = "Your\\java\\ file \\full\\path";
    JavaDocBuilder builder = new JavaDocBuilder();
    builder.addSource(new FileReader( fileFullPath  ));

    JavaSource src = builder.getSources()[0];
    String[] imports = src.getImports();

    for ( String imp : imports )
    {
        System.out.println(imp);
    }
#use print command
1.print (“Mary had a little lamb.”)
2.print (“I am 19 years old.”)
def byte_size(string):




 return(len(string.encode('utf-8')))


  


 


byte_size('😀’) # 4
byte_size('Hello World') # 11
 
def merge_two_dicts(a, b):
 
 
   c = a.copy()   # make a copy of a
 
   c.update(b)    # modify keys and values of a with the ones from b
 
   return c
 
 
 
 
 
a = { 'x': 1, 'y': 2}
 
b = { 'y': 3, 'z': 4}
 
 
print(merge_two_dicts(a, b)) # {'y': 3, 'x': 1, 'z': 4}
 
 
star

Thu Oct 22 2020 14:28:39 GMT+0000 (Coordinated Universal Time) https://realpython.com/python-virtual-environments-a-primer/

@ak1957 #python #virtual_environment #virtalenv

star

Sun Oct 18 2020 16:45:54 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/19736080/creating-dataframe-from-a-dictionary-where-entries-have-different-lengths

@arielvol #python

star

Mon Oct 12 2020 04:19:11 GMT+0000 (Coordinated Universal Time) https://madza.hashnode.dev/24-modern-es6-code-snippets-to-solve-practical-js-problems?guid

@mulitate4

star

Fri Oct 09 2020 23:33:40 GMT+0000 (Coordinated Universal Time) https://github.com/BrainJS/brain.js

@robertjbass

star

Thu Aug 27 2020 19:54:14 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/17426292/what-is-the-most-efficient-way-to-create-a-dictionary-of-two-pandas-dataframe-co

@arielvol #python

star

Thu Aug 27 2020 16:52:41 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/42668391/change-the-default-value-for-table-column-with-migration

@ludaley #rb

star

Wed Aug 19 2020 15:26:54 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/46155/how-to-validate-an-email-address-in-javascript

@rdemo #javascript

star

Mon Aug 17 2020 21:58:29 GMT+0000 (Coordinated Universal Time) https://www.freeformatter.com/json-escape.html

@Ohad #json

star

Sat Aug 08 2020 04:44:29 GMT+0000 (Coordinated Universal Time) https://www.digitalocean.com/community/questions/can-i-upload-images-to-spaces-using-node-js

@rdemo

star

Sat Jul 25 2020 00:48:18 GMT+0000 (Coordinated Universal Time)

@johannalexander #javascript

star

Mon Jun 29 2020 07:34:42 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/42252443/vertical-align-center-in-bootstrap-4

@peota

star

Sun Jun 28 2020 10:47:01 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/8861181/clear-all-fields-in-a-form-upon-going-back-with-browser-back-button

@mishka #jquery

star

Tue Jun 23 2020 09:27:41 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/jquery/simple-auto-playing-slideshow/

@Amna #javascript #jquery

star

Mon Jun 22 2020 19:57:38 GMT+0000 (Coordinated Universal Time) https://medium.com/building-autonomous-flight-software/the-math-behind-state-estimation-in-aerospace-software-66a15761049c

@arush

star

Mon Jun 22 2020 13:33:03 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/48888406/merge-two-laravel-collections-and-sum-the-values

@Amna #java

star

Mon Jun 22 2020 12:55:43 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/css/ribbon/

@Amna #css

star

Mon Jun 15 2020 11:09:15 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/14035180/jquery-load-more-data-on-scroll

@Hamza #html

star

Sat Jun 13 2020 19:27:29 GMT+0000 (Coordinated Universal Time)

@_ferasbaig #html

star

Sun Jun 07 2020 03:10:31 GMT+0000 (Coordinated Universal Time) https://levelup.gitconnected.com/5-javascript-tricks-that-are-good-to-know-78045dea6678

@biranchi125 #javascript

star

Sat Jun 06 2020 16:08:47 GMT+0000 (Coordinated Universal Time)

@usama #css

star

Wed Jun 03 2020 07:08:41 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/jquery/simple-auto-playing-slideshow/

@Amna #jquery

star

Wed Jun 03 2020 06:00:01 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/jquery/fade-image-into-another-image/

@Amna #jquery

star

Wed Jun 03 2020 05:54:07 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/jquery/horz-scroll-with-mouse-wheel/

@Amna #jquery

star

Fri May 29 2020 16:08:25 GMT+0000 (Coordinated Universal Time) https://medium.com/front-end-weekly/15-data-structures-with-js-examples-sets-5c0c7e52203

@newborn #javascript

star

Fri May 29 2020 12:29:09 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/jquery/move-clicked-list-items-to-top-of-list/

@Amna #jquery

star

Fri May 29 2020 12:03:09 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/jquery/calculate-distance-between-mouse-and-element/

@Amna #jquery

star

Fri May 29 2020 12:00:09 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/jquery/simple-jquery-accordion/

@Amna #jquery

star

Fri May 29 2020 11:45:11 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/jquery/get-query-params-object/

@Amna #jquery

star

Fri May 29 2020 11:40:32 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/jquery/better-broken-image-handling/

@Amna #jquery

star

Thu May 28 2020 15:25:13 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/7717527/smooth-scrolling-when-clicking-an-anchor-link

@dyaneld

star

Wed May 27 2020 07:31:50 GMT+0000 (Coordinated Universal Time)

@performmarketing #css

star

Tue May 26 2020 18:32:44 GMT+0000 (Coordinated Universal Time) https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/157766/simple-c-code-to-retrieve-an-entity-record

@sabih53

star

Tue May 26 2020 11:49:03 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/1263680/maximum-execution-time-in-phpmyadmin

@Ali Raza

star

Tue May 26 2020 11:29:32 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/jquery/force-iframe-to-reload/

@Amna #jquery

star

Thu May 21 2020 18:26:52 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/9621928/how-do-i-query-referenced-objects-in-mongodb

@salitha.pathi #javascript #mongoshell

star

Tue May 12 2020 22:59:54 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/50486643/get-path-of-parent-keys-and-indices-in-dictionary-of-nested-dictionaries-and-l

@kodds88 #python

star

Mon May 11 2020 22:00:28 GMT+0000 (Coordinated Universal Time) https://www.w3schools.com/css/css_grid.asp

@Ulises Villa #css

star

Mon May 11 2020 16:38:22 GMT+0000 (Coordinated Universal Time) custom

@ayazahmadtarar #ruby #rubyonrails

star

Sat May 09 2020 12:31:59 GMT+0000 (Coordinated Universal Time) https://developer.chrome.com/extensions/content_scripts

@faustj4r #C #C# #webassembly

star

Wed May 06 2020 16:14:28 GMT+0000 (Coordinated Universal Time) https://blog.logrocket.com/use-hooks-and-context-not-react-and-redux/

@sid #javascript

star

Tue May 05 2020 16:14:10 GMT+0000 (Coordinated Universal Time) https://madeusblack.github.io/projects/Library-js/index.html

@madeusblack #html

star

Sun May 03 2020 23:24:35 GMT+0000 (Coordinated Universal Time) https://makitweb.com/how-to-use-switchclass-and-toggleclass-in-jquery/

@deku #javascript #jquery

star

Fri May 01 2020 11:04:04 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/wordpress/removing-jetpack-css/

@RedQueen #css

star

Tue Apr 21 2020 11:15:59 GMT+0000 (Coordinated Universal Time) https://www.amazon.com/Learn-Python-Hard-Way-Introduction/dp/0321884914

@PinkGarden #python #python #condition #ifstatement #elifstatement #elsestatement

star

Mon Apr 20 2020 13:58:55 GMT+0000 (Coordinated Universal Time) https://towardsdatascience.com/30-helpful-python-snippets-that-you-can-learn-in-30-seconds-or-less-69bb49204172

@Rose lady #python #python #strings

star

Wed Apr 01 2020 10:09:44 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/5701305/how-to-get-all-imports-defined-in-a-class-using-java-reflection

@SunLoves #java #java #reflection #dependencies

star

Tue Mar 31 2020 11:27:37 GMT+0000 (Coordinated Universal Time)

@amnacannon #python #python #printfunction #strings

star

Tue Mar 31 2020 06:23:25 GMT+0000 (Coordinated Universal Time) https://towardsdatascience.com/30-helpful-python-snippets-that-you-can-learn-in-30-seconds-or-less-69bb49204172

@amnacannon #python #python #len #bytesize #strings

star

Tue Mar 31 2020 05:32:45 GMT+0000 (Coordinated Universal Time)

@EnjoyByte #python #python #dictionary #mergedictionary #dict

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension