- Install Cookies Export
- Login to Lynda and navigate to the course you want
- Cookies export button in browser
- Copy "cookie.txt" to your desktop
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
| git config --global https.proxy http://127.0.0.1:1080 | |
| git config --global https.proxy https://127.0.0.1:1080 | |
| git config --global http.proxy 'socks5://127.0.0.1:1080' | |
| git config --global https.proxy 'socks5://127.0.0.1:1080' | |
| git config --global --unset http.proxy |
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
| /* | |
| * Example how to preload HTML5 video on the iPad (iOS 3.2+) | |
| * @author Miller Medeiros | |
| * Released under WTFPL | |
| */ | |
| var vid = document.createElement('video'); | |
| vid.src = 'lol_catz.mp4'; | |
| document.getElementById('video-holder').appendChild(vid); |
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
| # -*- coding: utf-8 -*- | |
| import requests | |
| from pyquery import PyQuery as pq | |
| login_url = "https://passport.jd.com/new/login.aspx" | |
| login_post_url = "http://passport.jd.com/uc/loginService" | |
| # 用户名和密码 | |
| username = "your_name" | |
| password = "your_password" |
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
| const axiosconfig = { | |
| baseurl: 'https://site.com/api/', | |
| timeout: 30000, | |
| }; | |
| import Vue from 'vue'; | |
| import axios from 'axios'; | |
| // Setting up Axios on Vue Instance, for use via this.$axios | |
| Vue.prototype.$axios = axios.create(axiosConfig); |
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
| <?php | |
| add_action( 'cmb2_init', 'source_banner_metabox' ); | |
| function source_banner_metabox() { | |
| $prefix = '_source_demo_'; | |
| $cmb_demo = new_cmb2_box( array( | |
| 'id' => $prefix . 'metabox', |
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
| <?php | |
| /** | |
| * Taxonomy Post Columns | |
| * @link http://www.billerickson.net/code/add-taxonomy-to-edit-post-columns | |
| * | |
| * @package Core_Functionality | |
| * @since 1.0.0 | |
| * @link https://github.com/billerickson/Core-Functionality | |
| * @author Bill Erickson <bill@billerickson.net> | |
| * @copyright Copyright (c) 2011, Bill Erickson |
function print_sub_menus() {
global $post;
// get current page
$post_id = $post ? $post->ID : -1;
$has_post_parent = $post && $post->post_parent;
$top = $has_post_parent ? array_pop( get_post_ancestors($post_id) ) : $post_id;
// get all main menu itemsNewerOlder