Summary | Find the path from PATH env vars which includes string you specified. |
Env | win babel-node |
Summary | jQuery $ajax sample or snippet |
Env | jQuery |
this is currently experimental
Summary | Shabang.bat allow you to embed your script in bat file. Only put #!.bat . |
You can write single script file and #!.bat doesn't create any filein your %temp% to run script |
|
Env | Windows and ( node.js or python or ... ) |
Summary | Simple login form using angular.js and Foundation. |
Env | angular-js Foundation |
Note | Sample codes written using jsbin |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"> | |
<title></title> | |
<link rel="stylesheet" href="bower_components/mocha/mocha.css"/> | |
<script src="bower_components/mocha/mocha.js"></script> | |
<script src="node_modules/babel-core/browser.js"></script> | |
<script src="bower_components/chai/chai.js"></script> | |
<script src="bower_components/lodash/lodash.js"></script> |
This file contains 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 app = angular.module('app',[]); | |
app.directive('compileBold', function($compile){ | |
return{ | |
restrict: 'E', | |
link: function(scope, element, attr){ | |
console.log(element.html()); | |
element.html('<b>bold text</b>'); | |
$compile(element.contents())(scope); | |
} |
This file contains 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
using System; | |
using System.IO; | |
using System.Linq; | |
using System.Net; | |
using System.Text; | |
using System.Windows.Forms; | |
namespace PostDataWithFlask { | |
public partial class Form1 : Form { | |
public Form1() { |
This file contains 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 drawBalls(){ | |
// 描画しているだけ | |
var BALL = 4, R = 4, W=100, H=100; | |
var canvas = document.querySelector("#canvas"); | |
var ctx = canvas.getContext("2d"); | |
canvas.addEventListener("contextmenu", function(e){e.preventDefault(); clear();}); | |
ctx.globalCompositeOperation = "source-over"; | |
for(var i = 0; i < BALL; i++){ |
This file contains 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
using System.Windows.Forms; | |
using FarPoint.CalcEngine; | |
using FarPoint.Win.Spread.Model; | |
namespace WindowsFormsApplication1 { | |
public partial class Form1 : Form { | |
// this is only behind code. | |
// put Spread in form designer. | |
// run and edit A1 cell. values appear in D3, D4 and E3 cells. |
usage:
gogs-nssm-installer.bat <your-machine-name> <ip-of-your-machine> <port-for-gogs-web>
ex) gogs-nssm-installer.bat mywin8 192.168.0.10 5050
important notice: If use none secure location, use loopback ip (like 127.0.1.1) for gogs and use gogs behind other web server (nginx, apache etc).
OlderNewer