Snippets Collections
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}
 
 
from summarizer import Summarizer

body = '''
your text body
'''

model = Summarizer()
result = model(body, min_length=120)
full = ''.join(result)
print(full)
Widget build(BuildContext context) {
  return Scaffold(
    appBar: AppBar(title: Text('IntrinsicWidth')),
    body: Center(
      child: IntrinsicWidth(
        child: Column(
          crossAxisAlignment: CrossAxisAlignment.stretch,
          children: <Widget>[
            RaisedButton(
              onPressed: () {},
              child: Text('Short'),
            ),
            RaisedButton(
              onPressed: () {},
              child: Text('A bit Longer'),
            ),
            RaisedButton(
              onPressed: () {},
              child: Text('The Longest text button'),
            ),
          ],
        ),
      ),
    ),
  );
}
ol li {
	 list-style-type: none;
     }
     
// OR

li {
	list-style-type: none;
}
var eventsVariable = '"{events":[' +
    '{"location": "New York", "date": "May 1", "public": "true"},' +
    '{"location": "London", "date": "Apr 24", "public": "false"},' +
    '{"location": "San Frans", "date": "Nov 30", "public": "false"}]}';
    
var contacts = '{ "people" : [' +
'{ "firstName":"Joe" , "lastName":"Smith" },' +
'{ "firstName":"Tom" , "lastName":"Hardy" },' +
'{ "firstName":"Ben" , "lastName":"Stiller" } ]}';

var newObject = JSON.parse(contacts);

def when(predicate, when_true):
  return lambda x: when_true(x) if predicate(x) else x
  
EXAMPLES
double_even_numbers = when(lambda x: x % 2 == 0, lambda x : x * 2)
double_even_numbers(2) # 4
double_even_numbers(1) # 1
def unfold(fn, seed):
  def fn_generator(val):
    while True: 
      val = fn(val[1])
      if val == False: break
      yield val[0]
  return [i for i in fn_generator([None, seed])]
  
  
EXAMPLES
f = lambda n: False if n > 50 else [-n, n + 10]
unfold(f, 10) # [-10, -20, -30, -40, -50]
.gradient {
  background-image:
    linear-gradient(
      to right, 
      red, 
      blue,
      yellow, 
      green
    );
}
================================================================================================
FILE: "david mac g5 b:m6502.asm"
================================================================================================

000001  TITLE   BASIC M6502 8K VER 1.1 BY MICRO-SOFT
[...]
006955          END     $Z+START

End of File -- Lines: 6955 Characters: 154740

SUMMARY:

  Total number of files : 1
  Total file lines      : 6955
  Total file characters : 154740
  
  

PAUL ALLEN WROTE THE NON-RUNTIME STUFF.
BILL GATES WROTE THE RUNTIME STUFF.
MONTE DAVIDOFF WROTE THE MATH PACKAGE.
from html.parser import HTMLParser

class MyHTMLParser(HTMLParser):
    def handle_starttag(self, tag, attrs):
        print("Encountered a start tag:", tag)
    def handle_endtag(self, tag):
        print("Encountered an end tag :", tag)
    def handle_data(self, data):
        print("Encountered some data  :", data)

parser = MyHTMLParser()
parser.feed('<html><head><title>Test</title></head>'
            '<body><h1>Parse me!</h1></body></html>')
           
try {
  let hello = prompt("Type hello");
  if (hello !== 'hello'){
    throw new Error("Oops, you didn't type hello");
  }
}
catch(e) {
  alert(e.message);
}
finally {
  alert('thanks for playing!');
}
import re
import random
import os

# GLOBAL VARIABLES
grid_size = 81

def isFull (grid):
    return grid.count('.') == 0
  
# can be used more purposefully
def getTrialCelli(grid):
  for i in range(grid_size):
    if grid[i] == '.':
      print 'trial cell', i
      return i
      
def isLegal(trialVal, trialCelli, grid):

  cols = 0
  for eachSq in range(9):
    trialSq = [ x+cols for x in range(3) ] + [ x+9+cols for x in range(3) ] + [ x+18+cols for x in range(3) ]
    cols +=3
    if cols in [9, 36]:
      cols +=18
    if trialCelli in trialSq:
      for i in trialSq:
        if grid[i] != '.':
          if trialVal == int(grid[i]):
            print 'SQU',
            return False
  
  for eachRow in range(9):
    trialRow = [ x+(9*eachRow) for x in range (9) ]
    if trialCelli in trialRow:
      for i in trialRow:
        if grid[i] != '.':
          if trialVal == int(grid[i]):
            print 'ROW',
            return False
  
  for eachCol in range(9):
    trialCol = [ (9*x)+eachCol for x in range (9) ]
    if trialCelli in trialCol:
      for i in trialCol:
        if grid[i] != '.':
          if trialVal == int(grid[i]):
            print 'COL',
            return False
  print 'is legal', 'cell',trialCelli, 'set to ', trialVal
  return True

def setCell(trialVal, trialCelli, grid):
  grid[trialCelli] = trialVal
  return grid

def clearCell( trialCelli, grid ):
  grid[trialCelli] = '.'
  print 'clear cell', trialCelli
  return grid


def hasSolution (grid):
  if isFull(grid):
    print '\nSOLVED'
    return True
  else:
    trialCelli = getTrialCelli(grid)
    trialVal = 1
    solution_found = False
    while ( solution_found != True) and (trialVal < 10):
      print 'trial valu',trialVal,
      if isLegal(trialVal, trialCelli, grid):
        grid = setCell(trialVal, trialCelli, grid)
        if hasSolution (grid) == True:
          solution_found = True
          return True
        else:
          clearCell( trialCelli, grid )
      print '++'
      trialVal += 1
  return solution_found

def main ():
  #sampleGrid = ['2', '1', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '3', '1', '.', '.', '.', '.', '9', '4', '.', '.', '.', '.', '7', '8', '2', '5', '.', '.', '4', '.', '.', '.', '.', '.', '.', '6', '.', '.', '.', '.', '.', '1', '.', '.', '.', '.', '8', '2', '.', '.', '.', '7', '.', '.', '9', '.', '.', '.', '.', '.', '.', '.', '.', '3', '1', '.', '4', '.', '.', '.', '.', '.', '.', '.', '3', '8', '.']
  #sampleGrid = ['.', '.', '3', '.', '2', '.', '6', '.', '.', '9', '.', '.', '3', '.', '5', '.', '.', '1', '.', '.', '1', '8', '.', '6', '4', '.', '.', '.', '.', '8', '1', '.', '2', '9', '.', '.', '7', '.', '.', '.', '.', '.', '.', '.', '8', '.', '.', '6', '7', '.', '8', '2', '.', '.', '.', '.', '2', '6', '.', '9', '5', '.', '.', '8', '.', '.', '2', '.', '3', '.', '.', '9', '.', '.', '5', '.', '1', '.', '3', '.', '.']
  sampleGrid = ['.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '.', '4', '6', '2', '9', '5', '1', '8', '1', '9', '6', '3', '5', '8', '2', '7', '4', '4', '7', '3', '8', '9', '2', '6', '5', '1', '6', '8', '.', '.', '3', '1', '.', '4', '.', '.', '.', '.', '.', '.', '.', '3', '8', '.']
  printGrid(sampleGrid, 0)
  if hasSolution (sampleGrid):
    printGrid(sampleGrid, 0)
  else: print 'NO SOLUTION'

  
if __name__ == "__main__":
    main()

def printGrid (grid, add_zeros):
  i = 0
  for val in grid:
    if add_zeros == 1:
      if int(val) < 10: 
        print '0'+str(val),
      else:
        print val,
    else:
        print val,
    i +=1
    if i in [ (x*9)+3 for x in range(81)] +[ (x*9)+6 for x in range(81)] +[ (x*9)+9 for x in range(81)] :
        print '|',
    if add_zeros == 1:
      if i in [ 27, 54, 81]:
        print '\n---------+----------+----------+'
      elif i in [ (x*9) for x in range(81)]:
        print '\n'
    else:
      if i in [ 27, 54, 81]:
        print '\n------+-------+-------+'
      elif i in [ (x*9) for x in range(81)]:
        print '\n'
def hanoi(n, source, helper, target):
    if n > 0:
        # move tower of size n - 1 to helper:
        hanoi(n - 1, source, target, helper)
        # move disk from source peg to target peg
        if source:
            target.append(source.pop())
        # move tower of size n-1 from helper to target
        hanoi(n - 1, helper, source, target)
        
source = [4,3,2,1]
target = []
helper = []
hanoi(len(source),source,helper,target)

print source, helper, target
    
Result:
    Move disk 1 from A to B
    Move disk 2 from A to C
    Move disk 1 from B to C
    Move disk 3 from A to B
    Move disk 1 from C to A
    Move disk 2 from C to B
    Move disk 1 from A to B
# get "/articles?page=2"
request.original_url # => "http://www.example.com/articles?page=2"
import re
from collections import Counter

def words(text): return re.findall(r'\w+', text.lower())

WORDS = Counter(words(open('big.txt').read()))

def P(word, N=sum(WORDS.values())): 
    "Probability of `word`."
    return WORDS[word] / N

def correction(word): 
    "Most probable spelling correction for word."
    return max(candidates(word), key=P)

def candidates(word): 
    "Generate possible spelling corrections for word."
    return (known([word]) or known(edits1(word)) or known(edits2(word)) or [word])

def known(words): 
    "The subset of `words` that appear in the dictionary of WORDS."
    return set(w for w in words if w in WORDS)

def edits1(word):
    "All edits that are one edit away from `word`."
    letters    = 'abcdefghijklmnopqrstuvwxyz'
    splits     = [(word[:i], word[i:])    for i in range(len(word) + 1)]
    deletes    = [L + R[1:]               for L, R in splits if R]
    transposes = [L + R[1] + R[0] + R[2:] for L, R in splits if len(R)>1]
    replaces   = [L + c + R[1:]           for L, R in splits if R for c in letters]
    inserts    = [L + c + R               for L, R in splits for c in letters]
    return set(deletes + transposes + replaces + inserts)

def edits2(word): 
    "All edits that are two edits away from `word`."
    return (e2 for e1 in edits1(word) for e2 in edits1(e1))
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

star

Mon Mar 23 2020 07:13:49 GMT+0000 (Coordinated Universal Time) https://www.30secondsofcode.org/python/s/max-by/

@0musicon0 #python #python #math #list

star

Fri Feb 21 2020 22:36:19 GMT+0000 (Coordinated Universal Time)

@AdithyaSireesh #python

star

Thu Feb 06 2020 19:00:00 GMT+0000 (Coordinated Universal Time)

@happycardstwo #python #numbers

star

Wed Jan 22 2020 18:35:33 GMT+0000 (Coordinated Universal Time) https://medium.com/flutter-community/flutter-layout-cheat-sheet-5363348d037e

@loop_ifthen #dart #flutter #layout

star

Wed Jan 22 2020 08:08:03 GMT+0000 (Coordinated Universal Time)

@sub_zer0 #css #changingdefault #lists

star

Sat Jan 11 2020 20:54:48 GMT+0000 (Coordinated Universal Time) https://www.30secondsofcode.org/python/s/when/

@dry_toasts #python #function

star

Fri Jan 10 2020 19:00:00 GMT+0000 (Coordinated Universal Time) https://www.30secondsofcode.org/python/s/unfold/

@peterents #python #lists #function

star

Wed Jan 08 2020 19:00:00 GMT+0000 (Coordinated Universal Time)

@solitaire_4_07 #css #design #gradient

star

Fri Jan 10 2020 20:51:27 GMT+0000 (Coordinated Universal Time) https://github.com/Microsoft/vscode

@mishka #microsoft #typescript #editor #opensource

star

Sat Jan 04 2020 19:09:26 GMT+0000 (Coordinated Universal Time) https://www.pagetable.com/?p=774

@layspays #basic #historicalcode #microsoft

star

Thu Jan 02 2020 19:00:00 GMT+0000 (Coordinated Universal Time) https://docs.python.org/3.4/library/html.parser.html

@_clones_jones_ #html #python #xhtml

star

Wed Jan 01 2020 19:00:00 GMT+0000 (Coordinated Universal Time) https://codeburst.io/learn-how-to-handle-javascript-errors-with-try-throw-catch-finally-83b4f9ef8c6f

@new_roman11 #javascript #errors #howto

star

Wed Jan 01 2020 19:00:00 GMT+0000 (Coordinated Universal Time) http://code.activestate.com/recipes/578140-super-simple-sudoku-solver-in-python-source-code/

@faustj4r #python #puzzles

star

Wed Jan 01 2020 19:00:00 GMT+0000 (Coordinated Universal Time) https://www.python-course.eu/towers_of_hanoi.php

@hellointerview #python #puzzles #interesting

star

Tue Dec 31 2019 19:00:00 GMT+0000 (Coordinated Universal Time) https://api.rubyonrails.org/classes/ActionDispatch/Request.html#method-i-original_url

@vasquezthefez #howto #rubyonrails #webdev #interviewquestions

star

Sun Dec 29 2019 19:13:40 GMT+0000 (Coordinated Universal Time) http://norvig.com/spell-correct.html

@factsheet12345 #python #interesting #logic

star

Sat Dec 28 2019 19:41:55 GMT+0000 (Coordinated Universal Time) https://m.slashdot.org/story/178605

@divisionjava #interesting #BASIC #funcode

Save snippets that work with our extensions

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