$ rm -rf autoware autoware_data/ .ansible/ .ros/
$ sudo apt update -y
$ sudo apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
This file contains hidden or 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
| const N: usize = 100; | |
| use libc::{c_void, pthread_attr_t, pthread_create, pthread_t}; | |
| use std::ptr; | |
| extern "C" fn thread_func(arg: *mut c_void) -> *mut c_void { | |
| let tid = unsafe { Box::from_raw(arg as *mut u32) }; | |
| println!("thread {tid} is started"); | |
| ptr::null_mut() | |
| } |
This file contains hidden or 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
| { | |
| "editor.fontFamily": "'Fira Code Medium', 'Droid Sans Mono', 'monospace', monospace", | |
| "workbench.colorTheme": "One Dark Pro Darker", | |
| "editor.inlineSuggest.enabled": true, | |
| "asciidoc.pdf.asciidoctorPdfCommandPath": "asciidoctor-pdf -a scripts=cjk -a pdf-theme=default-for-print-with-fallback-font -r asciidoctor-diagram -r asciidoctor-mathematical", | |
| "asciidoc.extensions.enableKroki": true, | |
| "asciidoc.useWorkspaceRootAsBaseDirectory": true, | |
| "editor.tabSize": 4, | |
| "editor.insertSpaces": true, | |
| "editor.suggest.snippetsPreventQuickSuggestions": false, |
|
Important
|
gistの描写は忠実じゃないので、忠実な描写がされた際の画像を下に貼っています。 |
| 1 | 4 | 1 |
|---|
This file contains hidden or 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 python3 | |
| import sys | |
| import yfinance as yf | |
| import pickle | |
| if len(sys.argv) != 2: | |
| print("Usage: ./get_data.py <ticker_symbols_file>") | |
| sys.exit(1) | |
| tickers_file = sys.argv[1] |
This file contains hidden or 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
| # About the settings of gogs, see https://github.com/gogs/gogs/tree/main/docker. | |
| # The host of db is the container's name such as gogs-db-1 | |
| version: '3' | |
| services: | |
| db: | |
| image: postgres:latest | |
| environment: | |
| - POSTGRES_USER=gogs | |
| - POSTGRES_PASSWORD=##### | |
| - POSTGRES_DB=gogs |
This file contains hidden or 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
| #!/bin/zsh | |
| # The original source code is published in IsoNet-cryoET/IsoNet under the MIT license. | |
| ############### | |
| # THIS FILE CAN BE SOURCED INTO YOUR SHELL | |
| # TO SET UP ENVIRONMENT WHERE IsoNet CAN BE EXECUTED | |
| ############### | |
| _ISONET_REPO_ROOT="$(dirname "$(realpath "${(%):-%x}")")" |
This file contains hidden or 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> | |
| <head> | |
| <title>Emoji Fetcher</title> | |
| <style> | |
| .emoji { | |
| display: inline-block; | |
| text-align: center; | |
| margin: 10px; | |
| } |
I hereby claim:
-
I am mkakh on github.
-
I am mkakh (https://keybase.io/mkakh) on keybase.
-
I have a public key ASDGS3Cjbf2RTdkzdeQyTpdpz1mWoirsfe0jU_lr3OmMpQo
This file contains hidden or 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
| from google.oauth2.credentials import Credentials | |
| from google.auth.transport.requests import Request | |
| from google_auth_oauthlib.flow import InstalledAppFlow | |
| from googleapiclient.discovery import build | |
| from datetime import datetime, timedelta | |
| import calendar, os | |
| # If modifying these scopes, delete the file token.json. | |
| SCOPES = ['https://www.googleapis.com/auth/calendar.events'] |
NewerOlder