View gist:d0ebfafb56debeb552d8cc0f42359b38
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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreifhs74s7tknjlurpyjg3vexbq5ksb3v2tijfyiipljhwzfdzupjfi ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
View .gitconfig
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
[user] | |
signingkey = YOUR_HEX_SIGNING_KEY | |
[commit] | |
gpgsign = true | |
[gpg] | |
program = /Applications/SourceTree.app/Contents/Resources/bin/stgpg.sh |
View TP-Link_TD-W8960N_Reboot.sh
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
#!/bin/bash | |
# This software comes without any kind of warranty or license, use it at your own risk. | |
# | |
# Author: Andrea Galloni | |
# E-mail: andreagalloni92[at]gmail{dot}com | |
# | |
# Works on TP-Link 300M Wireless N ADSL2+ Modem Router TD-W8960N | |
# Firmware Version: 1.3.6 Build 100825 Rel.68770n | |
# |
View PubSub.js
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
import React, { Component } from 'react'; | |
import PubSub from 'pubsub-js'; | |
class App extends Component { | |
state = { show: true }; | |
render() { | |
return ( | |
<div className="App"> | |
<button onClick={() => this.setState(state => ({ show: !state.show }))}> | |
{this.state.show ? 'Hide panel' : 'Show panel'} |
View day4.elm
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
module Main exposing (..) | |
import Html exposing (text) | |
import Set | |
input : String | |
input = | |
"""pphsv ojtou brvhsj cer ntfhlra udeh ccgtyzc zoyzmh jum lugbnk | |
{-- more lines... --} |
View Main.elm
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
-- Somewhere in you Elm app you can add editor by adding an empty node with the correct attributes. | |
-- The JS library will be initialized and destroyed automatically! | |
view : Model -> Html Msg | |
view model = | |
div [] | |
[ div | |
[ attribute "data-ace" "" | |
, attribute "data-ace-theme" "monokai" | |
, attribute "data-ace-mode" "javascript" |
View AsyncContent.js
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(window, document, undefined){ | |
"use strict"; | |
var config = { | |
selector : "[data-asynccontent-url]", | |
urlAttr : "data-asynccontent-url", | |
thrAttr : "data-asynccontent-threshold", | |
loadTxtAttr : "data-asynccontent-loadtxt", | |
defaultLoadTxt : "Obteniendo contenido..." | |
}, |