Skip to content

Instantly share code, notes, and snippets.

Ioannis Kokkinidis SudoPlz

Block or report user

Report or block SudoPlz

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View unhandled error
[[95,94,94,94,94,10,55,75,75,75,75,75,75,75],[18,1,0,0,0,0,1,3,3,3,3,3,3,0],[[],[3994],[3995,100,1563557707025,false],[3996,100,1563557707026,false],[3997,200,1563557707026,false],["[{\"isLoop\":false,\"pickerConfirmBtnText\":\"Done\",\"pickerCancelBtnText\":\"Cancel\",\"pickerTitleText\":\"Pick a timezone:\",\"pickerConfirmBtnColor\":[161,161,161,1],\"pickerCancelBtnColor\":[161,161,161,1],\"pickerTitleColor\":[\"<<NaN>>\",\"<<NaN>>\",14,1],\"pickerToolBarBg\":[239,239,239,1],\"pickerTextEllipsisLen\":70,\"pickerBg\":[255,255,255,1],\"pickerRowHeight\":24,\"wheelFlex\":[1,1,1],\"pickerData\":[\"(HST -10:00) Hawaii Time\",\"(AKDT -08:00) Alaska Time\",\"(PDT -07:00) Pacific Time\",\"(MDT -06:00) Mountain Time\",\"(MST -07:00) Arizona Time\",\"(CDT -05:00) Central Time\",\"(EDT -04:00) Eastern Time\",\"(SST -11:00) Midway\",\"(GMT -11:00) Niue\",\"(SST -11:00) Pago Pago\",\"(GMT -10:00) Tahiti\",\"(HST -10:00) Johnston\",\"(GMT -10:00) Rarotonga\",\"(GMT -09:30) Marquesas\",\"(GMT -09:00) Gambier\",\"(GMT -08:
View filestack
import RNFetchBlob from 'rn-fetch-blob';
...
handleFileURI(fileURI) {
this.setState({
isUploadingFile: true,
});
RNFetchBlob.fetch('POST', 'https://www.filestackapi.com/api/store/S3?key=FILESTACK_API_KEY', {
// dropbox upload headers
View A typical ld: library not found for -lReact clang: error:
Ld /Users/sudoplz/Library/Developer/Xcode/DerivedData/MySuperApp-haxjchilyksewvdfcnnxwrulvyvy/Build/Products/Debug-iphonesimulator/MySuperApp.app/MySuperApp normal x86_64
cd /Users/sudoplz/Development/SuperApp/mobile/ios
export IPHONEOS_DEPLOYMENT_TARGET=11.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -rpath -Xlinker /usr/lib/swift -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.2.sdk -L/Users/sudoplz/Library/Developer/Xcode/DerivedData/MySuperApp-haxjchilyksewvdfcnnxwrulvyvy/Build/Products/Debug-iphonesimulator -L/Users/sudoplz/Library/Developer/Xcode/DerivedData/MySuperApp-haxjchilyksewvdfcnnxwrulvyvy/Build/Products/Debug-iphonesimulator/Amplitude
View apache.conf
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
View open lite speed errors
2018-12-02 14:40:55.393697 ERROR Invalid rewrite directive: DirectoryIndex index.php
2018-12-02 14:40:55.393713 ERROR Invalid rewrite directive: php_value memory_limit 756M
2018-12-02 14:40:55.393729 ERROR Invalid rewrite directive: php_value max_execution_time 18000
2018-12-02 14:40:55.393734 ERROR Invalid rewrite directive: php_flag session.auto_start off
2018-12-02 14:40:55.393739 ERROR Invalid rewrite directive: php_flag suhosin.session.cryptua off
2018-12-02 14:40:55.393751 ERROR Invalid rewrite directive: php_value memory_limit 756M
2018-12-02 14:40:55.393755 ERROR Invalid rewrite directive: php_value max_execution_time 18000
2018-12-02 14:40:55.393759 ERROR Invalid rewrite directive: php_flag session.auto_start off
2018-12-02 14:40:55.393763 ERROR Invalid rewrite directive: php_flag suhosin.session.cryptua off
2018-12-02 14:40:55.393775 ERROR Invalid rewrite directive: SecFilterEngine Off
@SudoPlz
SudoPlz / README.md
Last active Aug 23, 2018
React-native import fixing script
View README.md

React-native import fixing script

This script fixes imports so that they work both with react-native link React projects and cocoapods React projects.

Usage:

./importFixingUtil.sh . RCTConvert

View RCTACSquareSDKModule.java
package com.acuityscheduling.app.android.Payments.SquareSDK;
import android.app.Activity;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.bridge.ReadableArray;
import com.facebook.react.bridge.WritableMap;
View moment-timezones.json
{
africa_abidjan : "atlantic_st_helena",
africa_bamako : "africa_abidjan",
africa_banjul : "africa_abidjan",
africa_conakry : "africa_abidjan",
africa_dakar : "africa_abidjan",
africa_freetown : "africa_abidjan",
africa_lome : "africa_abidjan",
africa_nouakchott : "africa_abidjan",
africa_ouagadougou : "africa_abidjan",
View DictationSafeTextInput.js
import React from 'react';
import debounce from 'lodash.debounce';
import PropTypes from 'prop-types';
import { TextInput } from 'react-native';
const CHANGE_TEXT_DELAY_UNTIL_DISPATCH = 700;
// enforces dication safety so that siri can hear more than 1 words
class DictationSafeTextInput extends React.Component {
//
View spitogatosScrap.js
// infoBar_recentProperties
const axios = require("axios");
const cheerio = require('cheerio')
const MIN_SM = 70;
const MAX_SM = 110;
const MIN_PRICE = 300;
You can’t perform that action at this time.