Skip to content

Instantly share code, notes, and snippets.

On the go

Sylhare sylhare

On the go
Block or report user

Report or block sylhare

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
sylhare /
Created Jun 8, 2018 — forked from subfuzion/
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

sylhare /
Last active Feb 23, 2018
AI Chainer fast neural style
# This loss component captures the difference between the content of our source image and the content of our stylized image
L_feat = lambda_f * F.mean_squared_error(Variable(feature[2].data), feature_hat[2])
# Establish a variable to hold our style-losses
L_style = Variable(xp.zeros((), dtype=np.float32))
View color-coversion.js
* Converts an RGB color value to HSL. Conversion formula
* adapted from
* Assumes r, g, and b are contained in the set [0, 255] and
* returns h, s, and l in the set [0, 1].
* @param Number r The red color value
* @param Number g The green color value
* @param Number b The blue color value
* @return Array The HSL representation


:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
View graph.adoc
CREATE (neo:Database {name:'Neo4j'})
CREATE (neo)-[:SUPPORTS]->(:Language {name:'Cypher'})
sylhare /
Last active Nov 15, 2017
Neo4j Game of throne
You can’t perform that action at this time.