This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get the Spotify.Core instance | |
var spotify = Spotify.Instances.get(/(SPFBIn_\d+)_player/.exec(document.querySelector('[id^="SPFBIn"]').id)[1]); | |
// Request the 160kbps MP3 url for a specific track | |
spotify.services.storageResolver.list('spotify:track:0M3adYbGtyRHACP86dey1H', '', function(data) { console.log('Opening MP3 in new window:', a.uri); window.open(a.uri); }, function(e){ console.log('Error:', e); }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <objc/runtime.h> | |
#import <Foundation/Foundation.h> | |
int main () { | |
NSBundle *bundle = [NSBundle bundleWithPath:@"/Applications/Utilities/Keychain Access.app/Contents/Resources/Keychain.menu"]; | |
Class principalClass = [bundle principalClass]; | |
id instance = [[principalClass alloc] init]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AllCops: | |
# Include gemspec and Rakefile | |
Includes: | |
- '**/*.gemspec' | |
- '**/Rakefile' | |
Excludes: | |
- 'vendor/**' | |
ClassLength: | |
Enabled: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// how_much_netflix.js | |
// A script that looks through your Netflix viewing activity and | |
// tallys up how much time you've spent watching Netflix | |
// | |
// INSTRUCTIONS TO USE: | |
// Open https://www.netflix.com/WiViewingActivity and the developer console | |
// Copy and paste this script into the developer console and press enter | |
// | |
(function() { | |
var fetchAllViewedItems = function() { |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[33.7456,-117.8678],[-27.35,152.9833],[30.5801,114.2734],[25.0392,121.525],[35.69,139.69],[34.0093,-118.2584],[18,105],[37.57,126.98],[51.5667,-0.9833],[43.4422,-80.4968],[36.6683,116.9972],[26.6658,-81.748],[36.6683,116.9972],[23.1167,113.25],[26.0614,119.3061],[55.75,37.6166],[40.5975,-73.9979],[14.5833,120.9667],[34.1431,111.1358],[50.45,30.5233],[21.0333,105.85],[32.0617,118.7778],[51,9],[-6.5944,106.7892],[21.0333,105.85],[34.1722,-118.379],[43.7385,-79.2021],[42.7262,-71.1909],[37.7269,112.4708],[49.0992,-122.8691],[51.9967,5.3083],[55.75,37.6166],[39.4157,-76.5718],[51.1809,6.8598],[45.7904,4.8411],[34.0438,-118.2512],[13.75,100.4667],[35.69,139.69],[35.69,139.69],[43.6526,-73.801],[38,-97],[30.5801,114.2734],[39.2692,-94.3891],[40.6578,-73.672],[50.45,30.5233],[40.4024,-3.6924],[48.7852,2.5811],[51.1147,-114.1796],[37.4192,-122.0574],[49.4478,11.0683],[49.259,2.4378],[43.9667,10.5],[36.6683,116.9972],[41.7922,123.4328],[39.6734,-75.7052],[39.8897,115.275],[45.0724,-93.1874],[55.7522,37.6156],[48.86,2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Peer = require('simple-peer'); | |
var io = require('socket.io-client'); | |
var debug = require('debug')('client'); | |
var socket = io.connect(); | |
var peers = {}; | |
var useTrickle = true; | |
socket.on('connect', function() { | |
debug('Connected to signalling server, Peer ID: %s', socket.id); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import math | |
import string | |
SQL_INJECTION = 'natas16" AND password REGEXP BINARY "^%s$"; -- ' | |
auth = ('natas15', '__CENSORED__') | |
characters = string.ascii_lowercase + string.ascii_uppercase + string.digits | |
total_characters = len(characters) | |
password_length = 32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2012 James McCauley | |
# Modified 2015 Adam Malcontenti-Wilson | |
# | |
# This file is part of POX. | |
# | |
# POX is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]][([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[!+[]+!+[]+!+[]]+(+(!+[]+!+[]+!+[]+[+!+[]]))[(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+([![]]+[][[]])[+!+[]+[+[]]]+(![]+[])[!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+!+[] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public int GameOver(int f, int value[]) | |
{ | |
int comp = board[f]; | |
int rival; | |
int i; | |
int u, d, l, r, ul, ur, dl, dr; | |
int cnt0, cnt1, cnt2, cnt3; | |
int cnt0b, cnt1b, cnt2b, cnt3b; | |
int f0a, f0b, f1a, f1b, f2a, f2b, f3a, f3b; | |
int f0c, f0d, f1c, f1d, f2c, f2d, f3c, f3d; |