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
Afrobeat | |
Apala | |
Benga | |
Bongo Flava | |
Bikutsi | |
Cape Jazz | |
Chimurenga | |
Fuji music | |
Genge | |
Highlife |
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 'rubygems' | |
require 'openssl' | |
require 'digest/md5' | |
key = OpenSSL::PKey::RSA.new(2048) | |
cipher = OpenSSL::Cipher::AES.new(256, :CBC) | |
ctx = OpenSSL::SSL::SSLContext.new | |
puts "Spoof must be in DER format and saved as root.cer" | |
raw = File.read "root.cer" | |
cert = OpenSSL::X509::Certificate.new raw | |
cert.version = 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
package hello | |
import ( | |
"html/template" | |
"encoding/json" | |
"io/ioutil" | |
"fmt" | |
"strings" | |
"net/http" | |
"golang.org/x/net/context" |
I hereby claim:
- I am kevinpostal on github.
- I am zod (https://keybase.io/zod) on keybase.
- I have a public key whose fingerprint is 54C8 AF3F B790 E669 7544 FDA4 095C BA02 3694 9316
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
package main | |
import ( | |
"log" | |
"dev.justinjudd.org/justin/easyssh" | |
"golang.org/x/crypto/ssh" | |
) | |
func main() { |
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 json | |
import logging | |
import os | |
import os.path | |
import sys | |
import django | |
import requests | |
from optparse import OptionParser | |
parser = OptionParser() |
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
Telesign Take Home Task | |
======================= | |
Warm up | |
------- | |
Define a function to check if two words are a [palindrome](https://en.wikipedia.org/wiki/Palindrome). | |
Define a function to check if two words are an [anagram](https://en.wikipedia.org/wiki/Anagram). |
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
first_line = "3" | |
second_line = "1 2 4" | |
def main(first_line, second_line): | |
if int(first_line) != len(second_line.split()): | |
return False | |
else: | |
return sum((int(item) for item in second_line.split())) | |
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 re | |
import itertools | |
from os import listdir | |
from os.path import isfile, join | |
from collections import Counter | |
filelist = [] | |
OlderNewer