sudo yum install gcc gcc-c++
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
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
jq -r '.[] | select(.project_url | contains("stringValueToFilterInproject_url"))' ./tmp/appid_analytic_data_raw.json |
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 | |
# For a list of EC2 AMI IDs in a file, find something in each of the AMI description attributes and capture the characters after it. | |
# Then output it in JSON. | |
# Replace 'SAMBA' with the string you want to search for. | |
# ami file of ids example: | |
# | |
# ami-a231212 | |
# ami-sf12518agsj2l31 |
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
import 'package:flutter/cupertino.dart'; | |
import 'package:speech_to_text/speech_recognition_error.dart'; | |
import 'package:speech_to_text/speech_recognition_result.dart'; | |
import 'package:speech_to_text/speech_to_text.dart'; | |
class VoiceFunctions extends ChangeNotifier { | |
bool speechEngineState = false; | |
final speechTimeoutDuration = Duration(seconds: 5); | |
double level = 0.0; | |
String lastWords = ""; |
Requires git for CMD Installs flutter to a folder named flutter on the desktop. Appends the flutter\bin folder to your current Windows PATH variable.
Open CMD in administrative mode, not powershell.
cd %USERPROFILE%/Desktop
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
// uses dark mode, sane hot keys, starting directory as desktop, 4k friendly font size, large history, | |
// This file was initially generated by Windows Terminal 0.11.1251.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation |
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
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.example.your_app_name" | |
xmlns:tools="http://schemas.android.com/tools"> <!-- newly added --> | |
<application | |
tools:replace="android:label" <!-- newly added --> | |
android:name="io.flutter.app.FlutterApplication" | |
... |
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
#configure freeIPA and generate certs + | |
https://gist.github.com/rechner/c6b9133b7816445b5850f8e22e16aa60 | |
# generate certs from freeIPA | |
sudo ipa-getcert request -K openvpn/`hostname` -k /etc/openvpn/server_freeipa.key -f /etc/openvpn/server_freeipa.crt -I openvpn -C /usr/local/sbin/set-ssl-permissions | |
#openvpn server config | |
local <addressToBindTo> | |
port 1194 |
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
.notificationsFrame { | |
position: relative; | |
} | |
.notificationsFrame { | |
z-index: 2; | |
width: 100%; | |
top: 20px; | |
background: #fff; | |
border-radius: 3px; | |
overflow: hidden; |
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
Cloud-init v. 0.7.7 running 'init-local' at Mon, 09 Apr 2018 00:38:07 +0000. Up 23.48 seconds. | |
Cloud-init v. 0.7.7 running 'init' at Mon, 09 Apr 2018 00:38:08 +0000. Up 23.93 seconds. | |
ci-info: +++++++++++++++++++++++++++++++++++++Net device info++++++++++++++++++++++++++++++++++++++ | |
ci-info: +--------+------+----------------------------+---------------+-------+-------------------+ | |
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address | | |
ci-info: +--------+------+----------------------------+---------------+-------+-------------------+ | |
ci-info: | eth0 | True | 10.0.1.165 | 255.255.255.0 | . | 02:da:ec:61:e4:8e | | |
ci-info: | eth0 | True | fe80::da:ecff:fe61:e48e/64 | . | link | 02:da:ec:61:e4:8e | | |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | . | . | | |
ci-info: | lo | True | ::1/128 | . | host | . | |
NewerOlder