Minimal example: transcode from MP3 to WMA:
ffmpeg -i input.mp3 output.wma
You can get the list of supported formats with:
ffmpeg -formats
You can get the list of installed codecs with:
| { | |
| "name": "cisco", | |
| "children": [ | |
| { | |
| "children": [ | |
| { | |
| "name": "learn" | |
| }, | |
| { | |
| "name": "play" |
| from gensim.models import KeyedVectors | |
| # Load gensim word2vec | |
| w2v_path = '<Gensim File Path>' | |
| w2v = KeyedVectors.load_word2vec_format(w2v_path) | |
| import io | |
| # Vector file, `\t` seperated the vectors and `\n` seperate the words | |
| """ |
| import multiprocessing | |
| import pandas as pd | |
| import numpy as np | |
| def _apply_df(args): | |
| df, func, num, kwargs = args | |
| return num, df.apply(func, **kwargs) | |
| def apply_by_multiprocessing(df,func,**kwargs): | |
| workers=kwargs.pop('workers') |
| Summary of passwords by sperglord8008s, updated November 1. 2020. For login try "root", "default", "defaul" or "root" | |
| 00000000 | |
| 059AnkJ | |
| 4uvdzKqBkj.jg | |
| 7ujMko0admin | |
| 7ujMko0vizxv | |
| 123 | |
| 1111 | |
| 1234 |
| ### | |
| ### | |
| ### UPDATE: For Win 11, I recommend using this tool in place of this script: | |
| ### https://christitus.com/windows-tool/ | |
| ### https://github.com/ChrisTitusTech/winutil | |
| ### https://www.youtube.com/watch?v=6UQZ5oQg8XA | |
| ### iwr -useb https://christitus.com/win | iex | |
| ### | |
| ### OR take a look at | |
| ### https://github.com/HotCakeX/Harden-Windows-Security |
| When programming apps for Android, you usually want to test them on real Android devices. | |
| This little gist describes how to do so using Ubuntu 14. | |
| First, you need to download and install the Android development IDE (http://developer.android.com/sdk/index.html) and create an Android project which you want to debug. | |
| Next, you need to setup the debugging mode on your Android device. Starting in Android 4.2 you need to enable the developer options first: 1) Go to settings 2) Go to About Phone 3) Tap the build number 10 times (or more, not sure ;)) and you will get the notification that you enabled it. | |
| Then go to the developer settings and enable the debug mode for your phone. | |
| Now you think you can just plug it into your USB mode? - Nope. |
| # -*- coding: utf-8 -*- | |
| import itertools | |
| import re | |
| import urlparse | |
| import boto | |
| import warc | |
| from boto.s3.key import Key | |
| from gzipstream import GzipStreamFile |
Here are my attempts to script an IntelliJ-based IDE using javax.script.* API (ex-JSR-223).
The list of available scripting languages and engines:
<app>/lib/groovy-jsr223-xxx.jar<app>/jbr/... (deprecated and will be removed soon)| //http://jsfiddle.net/gdiamond/81c3qwed/ | |
| var data = [ | |
| { "name" : "ABC", "parent":"DEF", "relation": "ghi", "depth": 1 }, | |
| { "name" : "D4B", "parent":"null", "relation": "null", "depth": 0 }, | |
| { "name" : "new_name", "parent":"ABC", "relation": "rel", "depth": 2 }, | |
| { "name" : "new_name2", "parent":"ABC", "relation": "foo", "depth": 2 }, | |
| { "name" : "Foo", "parent":"DEF", "relation": "rel", "depth": 2 }, | |
| { "name" : "Bar", "parent":"null", "relation": "rel", "depth": 2 } | |
| ]; |