Skip to content

Instantly share code, notes, and snippets.

@zh-er
zh-er / hosts
Created May 20, 2024 04:15
test hosts file
127.0.0.1 localhost
127.0.0.1 localhost.localdomain
127.0.0.1 local
255.255.255.255 broadcasthost
::1 localhost
::1 ip6-localhost
::1 ip6-loopback
fe80::1%lo0 localhost
ff00::0 ip6-localnet
@imthenachoman
imthenachoman / Developing a GAS Powered Google Workspace Add-on And Launching It To The Marketplace.md
Last active May 20, 2024 04:13
Developing a GAS Powered Google Workspace Add-on And Launching It To The Marketplace
@rmania
rmania / geopandas_convert_geometry_3D_2D.py
Created March 13, 2017 21:06
flatten geometry series (3D to 2D) in geopandas dataframe
# Often when reading in a ShapeFile from Basemap, you'll get: "ValueError: readshapefile can only handle 2D shape types"
# A trick can be to convert your geometry in your GeoPandas Dataframe and restoring the new flattened 2D geometry
# series back into a shapefile and try again.
# edit from http://stackoverflow.com/questions/33417764/basemap-readshapefile-valueerror
from shapely.geometry import Polygon, MultiPolygon, shape, Point
import geopandas as gp
def convert_3D_2D(geometry):
'''
@glen15
glen15 / aws-study-resource.md
Created February 11, 2022 00:43 — forked from serithemage/aws-study-resource.md
AWS 학습 자료집

AWS 학습 링크집 시리즈

@Atsumi3
Atsumi3 / flutter-all-clean.sh
Created May 29, 2023 04:53
[fvm] Flutterでプロジェクトがおかしくなった時に正常化するShellスクリプト
#!/usr/bin/env bash
PUBSPEC_FILE_NAME='pubspec.yaml'
echo '------------------------------------'
echo '-- flutter clean'
echo $(pwd)
# .dart_tool を除いたプロジェクトフォルダ内の $PUBSPEC_FILE_NAME が格納されているディレクトリ一覧を取得
PUB_SPEC_DIRS=$(find "$(pwd)" \
@1eedaegon
1eedaegon / install-vmware-player-with-vagrant.ps1
Last active May 20, 2024 04:02
Install vagrant with vmware for windows 11
# 1. Download and install go
https://golang.org/doc/install
# 2. Download and install VMware workstation player
https://www.vmware.com/products/workstation-player.html
# 3. Download and install vagrant
https://www.vagrantup.com/downloads
# 4. Download vagrant vmware utility
@Nadrieril
Nadrieril / shell.nix
Last active May 20, 2024 04:02
Building LineageOS on NixOS
# I used this shell.nix to build LineageOS 13.0 for my maguro (Samsung Galaxy Nexus GSM) phone
# The build instructions for normal Linuxes are here: https://wiki.lineageos.org/devices/maguro/build
# For NixOS, follow those instructions but skip anything related to installing packages
# Detailed instructions:
# cd into an empty directory of your choice
# copy this file there
# in nix-shell:
# $ repo init -u https://github.com/LineageOS/android.git -b cm-13.0
# $ repo sync
# $ source build/envsetup.sh
@ChronSyn
ChronSyn / babel.config.js
Last active May 20, 2024 04:01
Expo - Alias path example
module.exports = function (api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
["@babel/plugin-transform-flow-strip-types"],
["@babel/plugin-proposal-decorators", { "legacy": true }],
["@babel/plugin-proposal-class-properties", { "loose": true }],
["module-resolver", {
"alias": {
@qoomon
qoomon / conventional_commit_messages.md
Last active May 20, 2024 03:57
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference.

Tip

Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs

Commit Message Formats

Default