This file contains hidden or 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
| change .. <widget id="com.ionicframework.cfbuilder125314" version="0.0.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> | |
| to an updated number for value (incremented), very very imporant or | |
| -- your shit will be broke if u didnt do above -- | |
| cordova build --release android | |
| important, that -x- behind aliast_name needs to be unique, so if you made an alias_name1 ... make it alias_name2 | |
| keytool -genkey -v -keystore my-release-key.keystore -alias alias_name-x- -keyalg RSA -keysize 2048 -validity 10000 | |
| important .. nothing needs to be changed here at all if everything is ok | |
| jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my-release-key.keystore C:\cfbuilder\platforms\android\ant-build\MainActivity-release-unsigned.apk alias_name | |
| the one after new is your revision | |
| zipalign -v 4 C:\cfbuilder\platforms\android\ant-build\MainActivity-release-unsigned.apk New1.apk |
This file contains hidden or 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
| clog | |
| console.log('$PARAM$ ' + $END$); | |
| fbget | |
| var ref = new Firebase(FURL + 'jobs'); | |
| ref.once("value", function (snapshot) { | |
| snapshot.forEach(function (childSnapshot) { | |
| var key = childSnapshot.key(); | |
| var childData = childSnapshot.val(); | |
| if (json.items[0].orderNumber == childData.orderNumber) { |
This file contains hidden or 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
| //hi |
This file contains hidden or 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
| <template> | |
| <div class="columns"> | |
| <ul> | |
| <li v-for="lane in lanes"> | |
| <div class="column is-narrow" style="background-color: lightgrey; border: 1px; border-style: solid; border-color: black; margin-right: 10px;"> | |
| <section class="hero is-primary" style="margin-bottom: 12px;"> | |
| <h1 class="title" style="text-align: left; color: black; padding: 3px; background-color: lightgrey;"> | |
| <b>{{lane.name}}</b> | |
| </h1> | |
| </section> |
This file contains hidden or 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 | |
| echo "Please, enter your username, it will be added to 'sudo' and 'docker' groups during the process." | |
| read USERNAME | |
| if [ -z "$USERNAME" ] ; then | |
| echo "Exiting... Done." | |
| exit | |
| else | |
| echo "Adding user to 'sudo' group..." |
This file contains hidden or 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 | |
| #mkdir -p /root/.ssh | |
| #chmod 600 /root/.ssh | |
| #chmod 700 /root/.ssh/authorized_keys |
This file contains hidden or 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 -x | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
| echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list | |
| sudo apt update | |
| sudo apt install -y mongodb-org | |
| sudo systemctl enable mongod | |
| sudo vim /etc/mongod.conf | |
| -- change access config if necessary | |
| sudo systemctl start mongod |
This file contains hidden or 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 -x | |
| sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 | |
| echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list | |
| sudo apt update | |
| sudo apt install -y mongodb-org | |
| sudo systemctl enable mongod | |
| sudo vim /etc/mongod.conf | |
| -- change access config if necessary | |
| sudo systemctl start mongod |
This file contains hidden or 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
| [ | |
| { | |
| "id": "1a3a14de.d6226b", | |
| "type": "tab", | |
| "label": "API Services", | |
| "disabled": false, | |
| "info": "" | |
| }, | |
| { | |
| "id": "d81c3475.a97e98", |
This file contains hidden or 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
| docker run -t -i --net="bridge" -p 1883:1883/tcp -p 9001:9001 -v /mnt/cache/app_config/mqtt/:/config spants/mqtt | |
| docker run -d -p 9000:9000 --restart always --name=portainer -v /var/run/docker.sock:/var/run/docker.sock -v /opt/portainer:/data portainer/portainer --no-auth |
OlderNewer