Skip to content

Instantly share code, notes, and snippets.

View vcaen's full-sized avatar
🚀
🪐

Vadim Caen vcaen

🚀
🪐
View GitHub Profile
@vcaen
vcaen / hello_world.py
Created June 15, 2026 12:09
Hello World Python script
print("Hello, World!")
@vcaen
vcaen / hello_goodweek.rs
Created June 12, 2026 19:08
Simple Rust script that echoes hello goodweek
fn main() {
println!("hello goodweek");
}
@vcaen
vcaen / hello_goodweek.py
Created June 12, 2026 19:07
Simple Python script that echoes hello goodweek
print("hello goodweek")
@vcaen
vcaen / automerge.yaml
Last active June 10, 2026 18:30
Github AutoMerge
name: Pure Git Backmerge
on:
push:
branches:
- release # Triggers when a hotfix hits the release branch
jobs:
merge-back:
runs-on: ubuntu-latest
@vcaen
vcaen / telegram.xml
Created September 27, 2021 15:05
Telegram Splash Screen Animation Test
<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt">
<aapt:attr name="android:drawable">
<vector
android:width="160dp"
android:height="160dp"
android:viewportWidth="240"
android:viewportHeight="240">
<path android:pathData="M120,120m-120,0a120,120 0,1 1,240 0a120,120 0,1 1,-240 0">
<aapt:attr name="android:fillColor">
@vcaen
vcaen / open-as-chrome-app.sh
Created October 15, 2019 12:51
Shell function to open a given url as a standalone window.
#!/bin/sh
# Open the url given as a parameter as a standalone window of Google Chrome
function app () {
local profile=""
local protocol=""
if [[ $1 != *"://"* ]]; then
protocol="https://"
fi
if [ -n "$2" ] ; then
# Copy paste the commands below to download Noto Color Emoji and install it.
(_FONTCONFIG='<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- Add emoji generic family -->
<alias binding="strong">
<family>emoji</family>
<default><family>Noto Color Emoji</family></default>
@vcaen
vcaen / macUKKeyboardRemap.sh
Created November 3, 2018 18:06
Mac remap § to ESC
#!/bin/bash
function keymapRemap() {
hidutil property --set '{"UserKeyMapping":[
{
"HIDKeyboardModifierMappingSrc":0x700000064,
"HIDKeyboardModifierMappingDst":0x700000029
}
]}'
}