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
@YoshiTheChinchilla
YoshiTheChinchilla / connpass-notification-changer.js
Last active August 20, 2019 22:35
Script that changes connpass.com group notification settings for lazy checkers
// connpass Notification Changer is a script that changes connpass.com group notification settings for lazy checkers
// Go to https://connpass.com/settings/
// And open console of developer tools
// Then evaluate following codes in the console
// Features:
// Legacy Browser Supported JavaScript
// All variables are immutable
// Functional codes(incomplete)
@YoshiTheChinchilla
YoshiTheChinchilla / macbuntu-transformer.sh
Created July 19, 2019 02:05
Tranforming Ubuntu 18.04(LTS) to MacBuntu Shell Script
#!/bin/bash
# Transform Ubuntu 18.04 or Linux Mint 19 to MacBuntu
# https://www.noobslab.com/2018/08/macbuntu-1804-transformation-pack-ready.html
# If you want to change another version Ubuntu or Linux Mint?
# Search MacBuntu for your version on https://www.noobslab.com/search?q=MacBuntu
# Setup workspace
WORKSPACE=~/Desktop/macbuntu
@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 / BaseAlert.vue
Last active April 19, 2021 05:30
Simple Event Bus pattern in Vue.js and Nuxt.js
<template>
</template>
<script>
// Import the Event Bus of Vue instance
import { EventBus } from './event-bus.js'
export default {
created() {
(this.$nuxt || EventBus || this.$EventBus).$on('open-alert', this.openAlert)

プロジェクトタイトル

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

入門

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

前提条件

@YoshiTheChinchilla
YoshiTheChinchilla / github-topic-copier.user.js
Last active November 29, 2019 10:53
GitHub Gist userscripts for Tampermonkey
// ==UserScript==
// @name GitHub Topic Copier
// @namespace https://gist.github.com/YoshiTheChinchilla/
// @version 1.0.0
// @description Creating "Copy topics" button to copy topics of GitHub repository
// @author Takashi Yoshimura
// @encoding utf-8
// @homepage https://gist.github.com/YoshiTheChinchilla/
// @match https://github.com/*/*
// @exclude https://github.com/pulls/*
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)
// ==UserScript==
// @name Chinese Repository Ignorer
// @namespace https://gist.github.com/YoshiTheChinchilla/
// @version 1.0.0
// @description Ignoring Chinese repositories on GitHub Trending
// @author Takashi Yoshimura
// @encoding utf-8
// @homepage https://gist.github.com/YoshiTheChinchilla/
// @match https://github.com/trending*
// @exclude https://github.com/trending/developers*
@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','こどもの日'),