Skip to content

Instantly share code, notes, and snippets.

# Use tmux plugin manager
# https://github.com/tmux-plugins/tpm
# tmux to use non login shell
set -g default-command "${SHELL}"
set -g @plugin 'tmux-plugins/tmux-yank'
set -g @yank_selection_mouse 'clipboard'
set -g escape-time 10
@TiborUdvari
TiborUdvari / vuforia_upload.py
Created November 11, 2018 20:32
Upload images to Vuforia Target Manager with Selenium and Chromedriver
import time
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
import os
# Get images to upload
img_dir = 'img'
@TiborUdvari
TiborUdvari / install_chromedriver.sh
Last active February 16, 2020 17:04
Install Selenium and ChromeDriver 2.43 on MacOS from terminal
pip install selenium
wget https://chromedriver.storage.googleapis.com/2.43/chromedriver_mac64.zip
unzip chromedriver_mac64.zip
chmod +x chromedriver
mkdir -p ~/bin
mv chromedriver ~/bin/chromedriver
rm chromedriver_mac64.zip
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
@TiborUdvari
TiborUdvari / ExcemptFromEncryption.cs
Last active April 23, 2024 16:22
Marks ITSAppUsesNonExemptEncryption in Unity generated Info.plist file to false. Doing this no longer requires manually marking the app as not using non-exempt encryption in iTunes Connect for Testflight beta testing.
using UnityEngine;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEditor;
using UnityEditor.iOS.Xcode;
using System.IO;
public class ExcemptFromEncryption : IPostprocessBuildWithReport // Will execute after XCode project is built
{
public int callbackOrder { get { return 0; } }
@TiborUdvari
TiborUdvari / IncrementBuildNumber.cs
Last active August 9, 2023 22:13
Unity Editor Script that increments build number for iOS builds
using UnityEngine;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEditor;
public class IncrementBuildNumber : IPreprocessBuildWithReport
{
public int callbackOrder { get { return 0; } } // Part of the IPreprocessBuildWithReport interface
public void OnPreprocessBuild(BuildReport report)
echo "white rose started"
a=1
while true
do
sleep 600
#afplay /System/Library/Sounds/Tink.aiff
say Computer loves you Marc
echo $a min
let "a += 1"
done
@TiborUdvari
TiborUdvari / ppchecklist.md
Last active November 20, 2015 09:47
Pushpop Expo checklist

Checklist

  1. Deactivate flux or other programs changing screen luminosity
  2. Put in do not disturb mode
  3. Set max luminosity on screen
  4. Remove screen saver
  5. Profil couleur LCD
  6. Clean screen

Backbone.js and yeoman

description

this is a list tutorials for building web application using backbone.js and yeoman. We are building a Photo Gallery JS App from Backbone Fundamentals

Requirements

@TiborUdvari
TiborUdvari / dropbox_image_refresh.md
Last active August 29, 2015 14:15
dropbox_image_refresh.md
@TiborUdvari
TiborUdvari / Canvas starter
Created January 9, 2015 17:36
Boilerplate code for canvas
<html>
<head>
<title>Canvas starter</title>
<style type="text/css">
body{
margin: 0;
}
</style>
</head>