Discover gists
private static byte[] intToLittleEndian(long numero) { | |
ByteBuffer bb = ByteBuffer.allocate(4); | |
bb.order(ByteOrder.LITTLE_ENDIAN); | |
bb.putInt((int) numero); | |
return bb.array(); | |
} | |
// OR ... | |
private static byte[] intToLittleEndian(long numero) { |
using System; | |
using System.Windows.Forms; | |
using System.Drawing; | |
namespace Gumshoe | |
{ | |
public class DataGridViewRichTextBoxColumn : DataGridViewColumn | |
{ | |
public DataGridViewRichTextBoxColumn() : base(new DataGridViewRichTextBoxCell()) | |
{ |
#!/bin/sh | |
printf "Switching php to version 7.0 with symlinks.\n" | |
printf "Press any key to continue...\n" | |
read CONTINUE | |
printf "Creating backups..." | |
# Backup original binaries |
tl;dr: Samsung is a bunch of crap company that doesn't inform their customers about serious limitations on their Wearables lineup. Great hardware, dog poo software.
So, what's this about: Samsung omits a bunch of crucial information for consumers anywhere on the Galaxy Watch product pages - at least on those for the Galaxy Watch 4, Galaxy Watch 5 or Galaxy Watch 6.
They omit on the product pages, the pages that should inform a consumer about requirements and limitations, that:
- unless you're rooted, the companion phone actually must be a phone, tablets and even phablets like the Galaxy Tab Active 3 are not supported. (If you're rooted, you can patch that away. Just follow along for the guide)
- only certain wearables
I am assuming you are here because like me, you installed a bazillion different python interpreters on mac and the whole thing is a spagetti. Today, I finally fixed my python installation. Whatever I install for python2 or python3 using pip JUST.WORKS.. My god! finally.
Here is what I had messed up, which you also probably did:
- I had too many different python interpreters
- Too many different symlinks which I lost track of
- almost no package I installed with pip worked without a headache
- any attempt to fix using online resources made it worse.
0.0.0.0 a-0001.a-msedge.net | |
0.0.0.0 a-0002.a-msedge.net | |
0.0.0.0 a-0003.a-msedge.net | |
0.0.0.0 a-0004.a-msedge.net | |
0.0.0.0 a-0005.a-msedge.net | |
0.0.0.0 a-0006.a-msedge.net | |
0.0.0.0 a-0007.a-msedge.net | |
0.0.0.0 a-0008.a-msedge.net | |
0.0.0.0 a-0009.a-msedge.net | |
0.0.0.0 a-msedge.net |
// you can include this from: https://cdn.rawgit.com/ErosLever/51c794dc1f2bab888f571e47275c85cd/raw/get-css-selector.js | |
/** | |
* Handy function to get the full CSS selector of any element in a web page | |
* @param {Element} e - the Element whose selector will be returned | |
* @returns {string} s - the complete CSS Selector including all ancestors elements | |
*/ | |
function getFullSelector(e){ | |
var s = "", t, i, c, p, n; | |
do{ | |
t = e.tagName.toLowerCase(); |
# put your network device into monitor mode | |
# Turn off Int | |
Set interface down | |
sudo ip link set wlan0 down | |
# Set monitor mode | |
iwconfig wlan0 mode monitor | |
# Turn up interface | |
ip link set wlan0 up |