Getting started:
Related tutorials:
- MySQL-CLI: https://www.youtube.com/playlist?list=PLfdtiltiRHWEw4-kRrh1ZZy_3OcQxTn7P
- Analyzing Business Metrics: https://www.codecademy.com/learn/sql-analyzing-business-metrics
| { | |
| "presets": [ | |
| ["es2015", { | |
| "es2015": { | |
| "loose": true, | |
| "modules": false | |
| } | |
| }], "react" | |
| ] | |
| } |
| Demo mobile app using WordPress REST API | |
| https://github.com/scottopolis/wp-rest-api-demo | |
| Expose Post Formats in WP REST API | |
| https://github.com/kucrut/wp-bridge-post-formats | |
| WP REST API endpoint for menus | |
| https://github.com/kucrut/wp-bridge-menus | |
| Powerful framework plugin for turning your WordPress theme into an isomorphic JavaScript application using the REST API |
Getting started:
Related tutorials:
| //SearchController.php | |
| public function autocomplete(){ | |
| $term = Input::get('term'); | |
| $results = array(); | |
| $queries = DB::table('users') | |
| ->where('first_name', 'LIKE', '%'.$term.'%') | |
| ->orWhere('last_name', 'LIKE', '%'.$term.'%') | |
| ->take(5)->get(); |
| /vendor |
| RN < 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache clean && npm install && npm start -- --reset-cache | |
| RN >= 0.50 - watchman watch-del-all && rm -rf $TMPDIR/react-native-packager-cache-* && rm -rf $TMPDIR/metro-bundler-cache-* && rm -rf node_modules/ && npm cache clean --force && npm install && npm start -- --reset-cache | |
| npm >= 5 - watchman watch-del-all && rm -rf $TMPDIR/react-* && rm -rf node_modules/ && npm cache verify && npm install && npm start -- --reset-cache | |
| Windows - del %appdata%\Temp\react-native-* & cd android & gradlew clean & cd .. & del node_modules/ & npm cache clean --force & npm install & npm start -- --reset-cache |
| // This is an advanced example! It is not intended for use in application code. | |
| // Libraries like Relay may make use of this technique to save some time on low-end mobile devices. | |
| // Most components should just initiate async requests in componentDidMount. | |
| class ExampleComponent extends React.Component { | |
| _hasUnmounted = false; | |
| state = { | |
| externalData: null, | |
| }; |
| <?php | |
| /* | |
| * Basic script to decrypt files encoded with eval(gzinflate(base64_decode($data))); | |
| */ | |
| $file = 'encrypted.php'; | |
| $content = file_get_contents($file); | |
| function evaldecode($content, $step = 0) { | |
| //echo "STEP $step\n"; |
| <?php | |
| // This file walks you through the most common features of PHP's SQLite3 API. | |
| // The code is runnable in its entirety and results in an `analytics.sqlite` file. | |
| // Create a new database, if the file doesn't exist and open it for reading/writing. | |
| // The extension of the file is arbitrary. | |
| $db = new SQLite3('analytics.sqlite', SQLITE3_OPEN_CREATE | SQLITE3_OPEN_READWRITE); |