Skip to content

Instantly share code, notes, and snippets.

View ArthurAttout's full-sized avatar
🦓
Warp speed. Don't rainbow-read me.

Arthur Attout ArthurAttout

🦓
Warp speed. Don't rainbow-read me.
View GitHub Profile
@kevinjpetersen
kevinjpetersen / KJPOpenALPRBuildAndroid.sh
Created April 18, 2018 21:59
Shell file which handles everything related to building OpenALPR for Android (armeabi, armeabi-v7a, etc..). It installs Android SDK, NDK, CMAKE, JDK and wraps it into a single .sh file. Only tested on a specific Ubuntu version right now, but probably works on others aswell. Tested on Ubuntu 17.10 x64
#!/bin/bash
# Only tested on Ubuntu 17.10 x64 (This is because CMAKE Package 3.6 is required for Build OpenALPR Android Script)
########################################################################################################
# Script pieced together and tested by Kevin J. Petersen (Github: https://github.com/kevinjpetersen) ###
########################################################################################################
## Scripts used ##
# ubuntu-cli-install-android-sdk.sh by zhy0 (Github: https://github.com/zhy0)
@passuf
passuf / .xprofile
Last active April 2, 2023 09:13 — forked from zoqaeski/custom
Remap Logitech R400 Presenter Keys
# Add these commands to your ~/.xprofile file
/usr/local/bin/map_logitech_r400_keys_exec &
/usr/local/bin/file-inotify /tmp/logitech-r400.lock /usr/local/bin/map_logitech_r400_keys_exec &
@cutiko
cutiko / LoginActivity.java
Last active August 29, 2022 14:53
How to customize firebase-ui-auth for Android
public class LoginActivity extends AppCompatActivity {
private static final int RC_SIGN_IN = 343;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
using System;
using System.Threading.Tasks;
using System.Windows.Input;
namespace AsyncDisablingScopeSample
{
public class RelayCommandAsync : ICommand
{
#region Fields