Skip to content

Instantly share code, notes, and snippets.

View shotastage's full-sized avatar
🖥️
Code now!

Shota Shimazu shotastage

🖥️
Code now!
View GitHub Profile
@shotastage
shotastage / pkl_install_script.swift
Created February 8, 2024 08:48
Easy Pkl configuration language installer for Mac.
#!/usr/bin/env swift
import Foundation
@discardableResult
func shell(_ args: String...) -> Int32 {
let task = Process()
task.launchPath = "/usr/bin/env"
task.arguments = args
task.launch()
@shotastage
shotastage / LpsBuild.sh
Created July 13, 2023 09:37
LpsBuild.sh
#!/bin/bash
cd $HOME
mkdir .LpsBuildTmp/
cd .LpsBuildTmp/
### Initialization
function Initialization () {
#!/usr/bin/env python
import os
import glob
import shutil
def clean_recent():
flist = glob.glob("./AppMain/Assets/Resources/Licenses/*")
for f in flist:
Video provides a powerful way to help you prove your point. When you click Online Video, you can paste in the embed code for the video you want to add. You can also type a keyword to search online for the video that best fits your document.
[youtube id="3Un61IIahfs"]
To make your document look professionally produced, Word provides header, footer, cover page, and text box designs that complement each other. For example, you can add a matching cover page, header, and sidebar. Click Insert and then choose the elements you want from the different galleries.
Themes and styles also help keep your document coordinated. When you click Design and choose a new Theme, the pictures, charts, and SmartArt graphics change to match your new theme. When you apply styles, your headings change to match the new theme.
[soundPlay file="3d8308yg3"]
Save time in Word with new buttons that show up where you need them. To change the way a picture fits in your document, click it and a button for layout options appears next to it.
#!/usr/bin/env bash
echo
echo "卒論環境Setup Tools for macOS"
echo "Version. 2019.12.12"
echo "Copyright © 2019 Shota Shimazu All rights reserved."
echo
echo
@shotastage
shotastage / SigDelegate.swift
Created July 12, 2019 05:22
Singleton + Delegattion
import Foundation
final class StoreObject {
/// Shared Instance
static let shared = StoreObject()
weak var delegate : StoreObjectDelegate?
var value: Int = 0 {
@shotastage
shotastage / setup_tf_env.sh
Created June 16, 2017 03:00
Create TensorFlow environment on SFC CCX server.
#!/usr/bin/env bash
echo "This script is EXPERIMENTAL version!!"
# Move home dir
cd
# Check existence
if [ -e ./anaconda3/ ]; then
echo "Anaconda and Python environment is already installed!"
exit 1
@shotastage
shotastage / redirect.html
Last active June 16, 2017 03:02
Auto redirect HTML.
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="3;URL=https://pinna-map.herokuapp.com">
</head>
<body>
<h1>リダイレクトしています....</h1>
</body>
</html>
program Hello(output);
begin
writeln('Hello, world!')
end.
msg = "Hello, Haskell!"
a = 10