I hereby claim:
- I am priithaamer on github.
- I am priithaamer (https://keybase.io/priithaamer) on keybase.
- I have a public key ASDIqb054fIDinsrc9Ih1p8vOm1KL6d_Dzh7lE5QZG-jogo
To claim this, I am signing this object:
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
declare module 'deck.gl' { | |
import * as React from 'react'; | |
type HandlerInfo<T> = (info: { layer: BaseLayer<T>, index: number, object: T, x: number, y: number }) => boolean; | |
interface BaseLayerOptions<T> { | |
id?: string; | |
data?: T[]; |
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 play = function() { | |
var boxes = $('#box span'); | |
var colors = boxes.map(function(idx, item) { | |
return $(item).css('background-color'); | |
}); | |
var color1 = {color: $.unique(colors)[0], count: 0}; | |
var color2 = {color: $.unique(colors)[1], count: 0}; | |
boxes.each(function(idx, item) { |
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
<div class="spinner"> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> |
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
<key>Roman-Accent-q</key> | |
<dict> | |
<key>Direction</key> | |
<string>right</string> | |
<key>Keycaps</key> | |
<string>q ` ^ ⌥ ⇧ ⌘ ⎋ ⏏ ⌫ ↑ ⇡ ↖ ⇞ ⇥</string> | |
<key>Strings</key> | |
<string>q ` ^ ⌥ ⇧ ⌘ ⎋ ⏏ ⌫ ↑ ⇡ ↖ ⇞ ⇥</string> | |
</dict> |
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
(function() { | |
var $; | |
if (window.jQuery === undefined || window.jQuery.fn.jquery < '1.5') { | |
(function(d, t) { | |
var js = document.createElement(t); | |
js.src = location.protocol + '//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'; | |
js.onload = scriptLoadHandler; | |
js.onreadystatechange = function() { | |
if (this.readyState == 'complete' || this.readyState == 'loaded') { |
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
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
print = false | |
doc = Nokogiri::HTML(open("http://www.cafenoir.ee/noir/")) | |
doc.css('table.contentpaneopen:nth-child(2) p').each do |p| |
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
require 'openssl' | |
require 'base64' | |
require 'digest/sha1' | |
c = OpenSSL::Cipher::Cipher.new("aes-128-cbc") | |
c.encrypt | |
# your pass is what is used to encrypt/decrypt | |
c.key = key = Digest::SHA1.hexdigest("whatever") | |
# c.iv = iv = c.random_iv | |
e = c.update("190") | |
e << c.final |
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
require 'openssl' | |
require 'base64' | |
require 'digest/sha1' | |
c = OpenSSL::Cipher::Cipher.new("aes-128-cbc") | |
c.encrypt | |
# your pass is what is used to encrypt/decrypt | |
c.key = key = Digest::SHA1.hexdigest("whatever") | |
# c.iv = iv = c.random_iv | |
e = c.update("190") | |
e << c.final |
NewerOlder