Skip to content

Instantly share code, notes, and snippets.

View YoshiTheChinchilla's full-sized avatar
:octocat:
On GitHub

Yoshi YoshiTheChinchilla

:octocat:
On GitHub
  • Worldwide
View GitHub Profile
@YoshiTheChinchilla
YoshiTheChinchilla / qwiklabs-codes.md
Last active May 12, 2019 10:45
A list of Qwiklabs codes

Qwiklabs Codes

These are Qwiklabs codes below.
Use my codes!
If you used my code, comment used code:)

I hope you enjoy on Qwiklabs!

  • 8212 c55f 526f 773e
  • d78c 854b ee4b 0667
export default (text) => (d=>{var e='getElementsByTagName',b=d[e]`body`[0];var c=d.createElement`textarea`;c.textContent=text;b.appendChild(c),c.select(),d.execCommand`copy`,b.removeChild(c),alert(`You copied!`)})(document)
@YoshiTheChinchilla
YoshiTheChinchilla / index.html
Last active August 6, 2019 18:00
True "Single File Components" template in Vue.js for prototype
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Prototype.vue</title>
<link rel="stylesheet" href="" type="text/css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.6.10/vue.min.js"></script>
<style type="text/css">
/* Vue.js default styles */

プロジェクトタイトル

一段落程度のプロジェクト概要を記載

入門

これらの手順で、あなたのローカルで開発またはテストを目的としたこのプロジェクトのセットアップと実行ができます。どのようにこのプロジェクトをデプロイするのかは後述したデプロイの項目を御覧ください。

前提条件

@YoshiTheChinchilla
YoshiTheChinchilla / japanese-national-holidays.sql
Created August 15, 2019 04:48
All Japanese national holidays since January 1st, 2017 (Old)
INSERT INTO `holidays` (`date`,`holiday`) VALUES
('2017-01-01','元日'),
('2017-01-02','振替休日'),
('2017-01-09','成人の日'),
('2017-02-11','建国記念の日'),
('2017-03-20','春分の日'),
('2017-04-29','昭和の日'),
('2017-05-03','憲法記念日'),
('2017-05-04','みどりの日'),
('2017-05-05','こどもの日'),
curl -i -X POST -H "Accept: application/json" -d @user.json https://identity.tyo1.conoha.io/v2.0/tokens
@YoshiTheChinchilla
YoshiTheChinchilla / multiple-skype.vbs
Created August 15, 2019 13:42
VBScript for running multiple Skype on Windows
Option Explicit
Dim objWshShell
Set objWshShell = WScript.CreateObject("WScript.Shell")
' Enter your path to Skype
objWshShell.Run """D:\<PATH_TO_SKYPE>\Skype\Phone\Skype.exe"" /secondary"
Set objWshShell = Nothing
@YoshiTheChinchilla
YoshiTheChinchilla / github-utils.js
Last active August 15, 2019 16:18
Gist raw URL to raw.githack URL converter
// See also http://raw.githack.com/
export const convertToContentUrl = (url, development=true) => url.replace('gist.githubusercontent', (development? 'gist' : 'gistcdn') + '.githack')
@YoshiTheChinchilla
YoshiTheChinchilla / example.sh
Created August 15, 2019 19:08
Shell Script for removing .gitkeep file
#!/bin/bash
# Normal Way
# Change directory to Git directory
cd <GIT_REPO>
# Remove .gitkeep
git rm-keep
#!/bin/bash
# Create minimal cluster with Google Compute Engine on free quota
gcloud container clusters create --zone=us-central1-a --machine-type=f1-micro --disk-size=30 --num-nodes=3 minimal-cluster \
--no-enable-cloud-logging \
--no-enable-cloud-monitoring \
--disable-addons=HttpLoadBalancing
# Check pods
kubectl get pod --all-namespaces