Skip to content

Instantly share code, notes, and snippets.

@frunkad
frunkad / pin3.gif
Last active June 30, 2019 09:42
Pin 3
pin3.gif
@frunkad
frunkad / pin2.gif
Last active June 30, 2019 09:45
Pin 2
pin2.gif
@frunkad
frunkad / pin5.gif
Last active June 30, 2019 09:48
Pin 5
pin5.gif
@frunkad
frunkad / pin6.gif
Last active June 30, 2019 09:50
Pin 6
pin6.gif
@frunkad
frunkad / pin4.gif
Last active June 30, 2019 09:51
Pin 4
pin4.gif
@frunkad
frunkad / metar.js
Created July 4, 2019 10:12
Metar Convertor
const express = require('express');
const app = express();
function convertMETAR(metarString) {
const codeList = metarString.split(' ');
const result = {};
let i = 0;
let current = codeList[i];
@frunkad
frunkad / bookmark-url.js
Last active May 19, 2020 16:44
Rf Campus Feedback Trick
javascript:(function(){$(".col-xs-lr-10:nth-child(1) > input").attr('checked', 'checked').trigger("change");$("#save-design").trigger("click");$("#button-0").trigger("click");})();
@frunkad
frunkad / keybase.md
Created June 17, 2020 21:40
Keybase

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@frunkad
frunkad / startup-script.sh
Last active August 1, 2020 15:08
Startup Script for Compute Engine Instances
set -v
PROJECTID=$(curl -s "http://metadata.google.internal/computeMetadata/v1/project/project-id" -H "Metadata-Flavor: Google")
# Install logging monitor. The monitor will automatically pick up logs sent to
# syslog.
curl -s "https://storage.googleapis.com/signals-agents/logging/google-fluentd-install.sh" | bash
service google-fluentd restart &
# Install dependencies from apt