This file contains 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
using System; | |
using System.Threading.Tasks; | |
using System.Windows.Input; | |
namespace AsyncDisablingScopeSample | |
{ | |
public class RelayCommandAsync : ICommand | |
{ | |
#region Fields |
This file contains 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
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); |
This file contains 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
# 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 & |
This file contains 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/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) |