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
package main | |
import ( | |
"fmt" | |
"time" | |
"math" | |
) | |
// Contants | |
const oPi = "おっぱい" |
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 AvatarHeader | |
require 'fileutils' | |
def get_loop(field, method) | |
Account.remote.limit(19).each do |account| | |
# Account.remote.find_each do |account| | |
send(method, field, account) | |
end | |
end |
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
javascript:(function(){var a=document.createElement("script");a.src="https://j.mp/1bPoAXq";document.head.appendChild(a);setInterval(function(){$("a[style^='background']").parent().parent().css("display","none");},100);})(); |
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
#!/usr/bin/env ruby | |
# frozen_string_literal:true | |
require 'time' | |
require 'nkf' | |
title = 'band-demo' | |
location = 'https://lovesaemi.daemon.asia/chiaki' | |
files = [] |
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
package main | |
import f "fmt" | |
func reseiver(ch chan int) { | |
for { | |
i := <-ch | |
f.Println(i) | |
} | |
} |
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
/* Please visit the URL below for more information: */ | |
/* https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */ | |
.markdown-preview.markdown-preview { | |
// modify your style here | |
// eg: background-color: blue; | |
h1 { | |
border-left: solid 10px lightblue; | |
border-bottom: solid 2px lightblue; |
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
require 'base64' | |
if ARGV.size != 1 | |
puts "usage: ruby base64decode.rb <file of base64>" | |
exit(1) | |
end | |
base64string = IO.read(ARGV[0]) | |
puts Base64.decode64(base64string) |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title></title> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> |
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
# Ubuntu | |
sudo apt install certbot | |
# AmazonLinux2 | |
sudo yum install certbot |
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
sudo su | |
cd /usr/local/src | |
wget https://www.openssl.org/source/openssl-1.1.0g.tar.gz | |
tar xzvf openssl-1.1.0g.tar.gz | |
cd openssl-1.1.0g | |
./config -Wl,--enable-new-dtags,-rpath,'$(LIBRPATH)' | |
make | |
sudo make install |