Skip to content

Instantly share code, notes, and snippets.

$('div.cart-product-info-sku').each((i, div) => $(div)
.css('cursor', 'pointer')
.css('color', 'blue')
.css('text-decoration', 'underline')
.click(() => { window.location.href = '/' + $(div).attr('parent-partnumber') }))
#!/bin/bash
# 1. Start jack
echo "Starting cadence..."
echo "Start jackd + pulseaudio"
sleep 5
read -p "Press [ENTER] to continue..."
# 2. Create source
echo "Creating source..."
private User GetUserByToken(string tokenBody)
{
var token = _context.Tokens.SingleOrDefault(t => t.Body == tokenBody);
if (token == null)
return null;
var user = _context.Users.SingleOrDefault(u => u.Id == token.UserId);
return user;
}
// Dependencies
const Enumerable = require ('linq');
// Constants
const UPPER_CASE_CHARS = `ABCDEFGHIJKLMNOPQRSTUVWXYZ`;
const LOWER_CASE_CHARS = `abcdefghijklmnopqrstuvwxyz`;
const DIGITS = `0123456789`;
const SPECIAL_CHARS = `!@#$%^&*+=?/\\_`;
const VALID_CHARACTERS =
$('info-message').hide();
var video = $('video')[0];
var seekbar = $('vod-seek-bar');
seekbar.click (e => video.currentTime = e.offsetX / seekbar.width() * video.duration);
{
"result":{
"headers":[
{
"name":"ID",
"type":1
},
{
"name":"Tipo",
"type":2
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: examples/crop/images/leaf twirl.jpg
modified: license.txt
no changes added to commit (use "git add" and/or "git commit -a")
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .nuget/nuget.exe
modified: examples/assets/bootstrap/img/glyphicons-halflings-white.png
modified: examples/assets/bootstrap/img/glyphicons-halflings.png
modified: examples/crop/images/leaf twirl.jpg