Skip to content

Instantly share code, notes, and snippets.

View Nipol's full-sized avatar
😎

yoonsung.eth Nipol

😎
View GitHub Profile
package main
import (
"fmt"
"net/http"
"encoding/json"
)
type daily struct {
Day int
package main
import (
"fmt"
"net/http"
"encoding/json"
)
type daily struct {
Day int
<ul class="phones">
<li ng-repeat="phone in phones | filter:query | orderBy:orderProp" class="thumbnail">
<a href="#/phones/{{phone.id}}" class="thumb"><img ng-src="{{phone.imageUrl}}"></a>
<a href="#/phones/{{phone.id}}">{{phone.name}}</a>
<p>{{phone.snippet}}</p>
</li>
</ul>
<ul class="nav navbar-nav">
<li class="active"><a ui-sref="home">Login</a></li>
<li><a ui-sref="signup">Signup</a></li>
<li><a href="#">No</a></li>
</ul>
@Nipol
Nipol / vagrantfile
Created May 25, 2016 13:43
front-end vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.hostname = "everclone"
config.vm.box = "ubuntu/trusty64"
config.vm.network "forwarded_port", guest: 3000, host: 3000
config.vm.network "forwarded_port", guest: 3001, host: 3001
config.vm.synced_folder ".", "/home/vagrant/ngEverclone"
0xb62B6A774cEfB18d1efD07E0b143Bd891e144d2b
def mod(a, b):
"""이 함수는 a를 b로 나눈 나머지 값을 반환합니다."""
return a % b
@Nipol
Nipol / Counter.sol
Created October 8, 2018 03:57
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=true&gist=
pragma solidity ^0.4.24;
import './SafeMath.sol';
contract counter {
using SafeMath for int256;
int256 internal value;
bool internal _initialized;
@Nipol
Nipol / package.json
Last active November 14, 2019 08:17
{
"name": "sample",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"truffle:init": "truffle init",
"truffle:develop": "truffle develop",
"truffle:test": "truffle test"
},
{
"name": "Smart Contract Dev Enviroment",
"dockerFile": "Dockerfile",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"appPort": [],