Skip to content

Instantly share code, notes, and snippets.

View Shikkic's full-sized avatar
🤪

Dan Cadden Shikkic

🤪
View GitHub Profile
{
"name": "nodeTutorial",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
@Shikkic
Shikkic / server-git.conf
Created September 8, 2016 00:13 — forked from massar/server-git.conf
Example nginx + git HTTP Smart mode (git-http-backend) + HTTP Authentication + HTTPS redirect
# Example nginx + git HTTP Smart mode (git-http-backend) + HTTP Authentication + HTTPS redirect
# jeroen@massar.ch - http://jeroen.massar.ch
server {
listen 192.0.1.1:80;
listen [2001:db8::1]:80;
# Redirect all non-HTTPS traffic to the HTTPS variant
return 301 https://$host$request_uri;
}
server {
listen [::]:80;
listen 0.0.0.0:80;
# Redirect stdout/stderr to logs.
access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log warn;
# Make the depot volume the root to make cgi simpler.
root /repos;

Gophr needs your help!

Imgur

Gophr.pm is launching into full alpha this week and we're preparing to have real users in the go community stress test our systems. We need your help to make sure it all goes super smooth.

What is Gophr?

Gophr is an end-to-end package management solution for Go. No manifest or lock file and a fully versioned dependency graph. Simply place the url in your import path and it's automatically fully versioned.

@Shikkic
Shikkic / dank.md
Last active January 6, 2017 18:22
longest_substring_problem
class Solution(object):
    def lengthOfLongestSubstring(self, s):
        if len(s) == 0: return 0
        
        if len(s) == 1: return 1
        
        m = {}
        max_len = 0
 

Keybase proof

I hereby claim:

  • I am shikkic on github.
  • I am shikkic (https://keybase.io/shikkic) on keybase.
  • I have a public key whose fingerprint is 3C25 E7D4 E519 A6A0 0B56 2DB4 AD5E A823 A948 F174

To claim this, I am signing this object:

@Shikkic
Shikkic / keybase.md
Created July 12, 2019 15:25
Githhub Identity Proof

Keybase proof

I hereby claim:

  • I am shikkic on github.
  • I am shikkic (https://keybase.io/shikkic) on keybase.
  • I have a public key ASDPPW_wSFmr1ZgjCp3CZeFobjRx0ycbQCIOHe06H1omfAo

To claim this, I am signing this object: