#> wget http://download.silicondust.com/hdhomerun/libhdhomerun_20130117.tgz
#> tar zxvf libhdhomerun_20130117.tgz
<?xml version=”1.0″ encoding=”UTF-8″?> | |
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”> | |
<html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”en” lang=”en”> | |
<head profile=”http://selenium-ide.openqa.org/profiles/test-case”> | |
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ /> | |
<link rel=”selenium.base” href=”https://www.google.com/” /> | |
<title>gv_del</title> | |
</head> | |
<body> | |
<table cellpadding=”1″ cellspacing=”1″ border=”1″> |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Security.Cryptography; | |
using System.Security.Cryptography.X509Certificates; | |
namespace DigitalSigning | |
{ |
#!/usr/bin/perl -w | |
# | |
# This script was developed by Robin Barker ([email protected]), | |
# from Larry Wall's original script eg/rename from the perl source. | |
# | |
# This script is free software; you can redistribute it and/or modify it | |
# under the same terms as Perl itself. | |
# | |
# Larry(?)'s RCS header: | |
# RCSfile: rename,v Revision: 4.1 Date: 92/08/07 17:20:30 |
Log events to file | |
================== | |
curl -H 'Authorization: Bearer <auth_token_here>' -N https://api.particle.io/v1/devices/events -o photon.log | |
-H => header | |
-N => No buffer; output in real time | |
-o => output to file |
# Method 1 | |
cat /dev/random | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 5 | |
tr => translate/delete input stream | |
-d => delete from stream | |
-c => complement of SET1, SET1 being 'a-zA-Z0-9' i.e. delete all chars except the ones in SET1 from input stream | |
fold => wrap output into 16 column fixed width i.e. generate passwords of length 8 | |
head => top 5 results only |
I hereby claim:
To claim this, I am signing this object:
Hello | |
 | |
World |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.nio.charset.Charset; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
public class FileMimeTypeService { | |
public String getContentType(String file) { | |
spring: | |
security: | |
oauth2: | |
client: | |
registration: | |
keycloak: | |
client-id: xyz-app | |
client-secret: <insert-secret-here> | |
clientName: XYZ | |
authorization-grant-type: authorization_code |