Inspired with real D language feature: http://wiki.dlang.org/Voldemort_types
Compile in GCC/Clang with -std=c++14.
#include <iostream>
#include <typeinfo>
auto eh() {
struct Voldemort {Inspired with real D language feature: http://wiki.dlang.org/Voldemort_types
Compile in GCC/Clang with -std=c++14.
#include <iostream>
#include <typeinfo>
auto eh() {
struct Voldemort {See also, http://libraryofalexandria.io/cgo/
cgo has a lot of trap.
but Not "C" pkg also directory in $GOROOT/src. IDE's(vim) Goto command not works.
So, Here collect materials.
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/exec" | |
| "syscall" | |
| ) | |
| func main() { |
| import struct | |
| import sys | |
| import subprocess | |
| import socket | |
| import telnetlib | |
| import ctypes | |
| """ | |
| Cookbook - 6 - 0 solves : pwn: a top chef wrote this cookbook for me but i think he has an extra secret recipe! | |
| https://s3.amazonaws.com/bostonkeyparty/2016/58056c425dc617b65f94a8b558a4699fedf4a9fb.tgz |
| #!/usr/bin/env bash | |
| bing_bg() { | |
| local host='http://bing.com' | |
| local path='HPImageArchive.aspx' | |
| local query="format=js&idx=${1:-0}&n=1&mkt=en-US" | |
| curl -s "$host/$path?$query" |\ | |
| jq --arg host "$host" -r '$host + .images[0].url' | |
| } |
| package main | |
| import ( | |
| "io" | |
| "log" | |
| "net" | |
| "time" | |
| ) | |
| func reader(r io.Reader) { |
| Number.prototype.map = function (in_min, in_max, out_min, out_max) { | |
| return (this - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; | |
| } |
| require 'httparty' | |
| # TVDB | |
| TVDB_API_KEY = '[your api key]' | |
| TVDB_USERNAME = '[your username]' | |
| TVDB_USERKEY = '[your user key]' | |
| image_prefix = 'http://thetvdb.com/banners/' | |
| # get token | |
| response = HTTParty.post('https://api.thetvdb.com/login', { |
React: Unexpected use of 'location';Solution: Use window.location instead of bare location.