Skip to content

Instantly share code, notes, and snippets.

View yshuman1's full-sized avatar
🎯
Focusing

Yasin Shuman yshuman1

🎯
Focusing
View GitHub Profile
@yshuman1
yshuman1 / welcome.ejs
Created August 22, 2017 05:44
want to allow sidenav to always be open
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Buzzy - Reach Everyone</title>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css">
var request = require('request');
var address = '2130 fulton street, san francisco, CA';
var method = 2;
request(`https://api.aladhan.com/timingsByAddress?address=${address}&method=${method}`, function(error, response, body){
var imsak = JSON.parse(body).data.timings.Imsak;
0xA3b1E95F161c029831CD04440EB93c6910495495
enable adb in path
export PATH=$PATH:/Applications/Genymotion.app/Contents/MacOS/tools
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home
export PATH=$PATH:$JAVA_HOME/bin
export PATH=$HOME/flutter/bin:$PATH
#export GOPATH=$HOME/go
#export GOROOT="/usr/local/go"
export GOPATH=$(go env GOPATH)
pragma solidity ^0.4.0;
contract Hello {
address creator;
string greeting;
function Hello(string _greeting) {
greeting = _greeting;
creator = msg.sender;
}
{ ':helloWorld':
{ assembly: { '.code': [Array], '.data': [Object] },
bytecode: '6060604052341561000c57fe5b5b604060405190810160405280600b81526020017f68656c6c6f20776f726c6400000000000000000000000000000000000000000081525060009080519060200190610059929190610060565b505b610105565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100a157805160ff19168380011785556100cf565b828001600101855582156100cf579182015b828111156100ce5782518255916020019190600101906100b3565b5b5090506100dc91906100e0565b5090565b61010291905b808211156100fe5760008160009055506001016100e6565b5090565b90565b6102ff806101146000396000f30060606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630c49c36c14610046578063e21f37ce146100df575bfe5b341561004e57fe5b610056610178565b60405180806020018281038252838181518152602001915080519060200190808383600083146100a5575b8051825260208311156100a557602082019150602081019050602083039250610081565b505050905090810190601f1680156100d15780820380516001
pragma solidity ^0.4.16;
contract YasCoin {
// Public variables of the token
string public name;
string public symbol;
uint8 public decimals = 18;
uint256 public sellPrice;
uint256 public buyPrice;
// 18 decimals is the strongly suggested default, avoid changing it
Verifying my Blockstack ID is secured with the address 1EjPhiYGzchCPJFeYxDEDahfeZVD24RiaN https://explorer.blockstack.org/address/1EjPhiYGzchCPJFeYxDEDahfeZVD24RiaN

Keybase proof

I hereby claim:

  • I am yshuman1 on github.
  • I am yas1n (https://keybase.io/yas1n) on keybase.
  • I have a public key ASAEtFZzPznKjlNmQj5NiSOmSC7irUX5LJuQ4TG_ZmySCwo

To claim this, I am signing this object:

const express = require("express");
const request = require("request");
const bodyparser = require("body-parser");
const bitcore = require("bitcore-lib");
const app = express();
app.use(
bodyparser.urlencoded({
extended: true