No more self-sighed certs. Use something like LetsEncrypt.
We currently have “star” topology. That means that when my server goes down everyone suffers. If when my server goes down, other servers
using System; | |
using System.Data; | |
using System.Data.SqlClient; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
using (SqlConnection connection = new SqlConnection(new SqlConnectionStringBuilder | |
{ |
using System; | |
using System.Diagnostics; | |
using System.Text; | |
using System.Threading; | |
using System.Threading.Tasks; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
> function decrypt(s) { return Buffer.from([].slice.call(s).reverse().join('').split(' ').map(s => Number.parseInt(s, 2))).toString(); } | |
undefined | |
> decrypt('10100110 10110110 11110110 11001110 10100110 11101110 10000110 00000100 10100110 01001110 10000110 00000100 10101110 11110110 10011010') | |
'You are awesome' |
#!/usr/bin/env python3 | |
my_var = 23 |
SET IMPLICIT_TRANSACTIONS ON | |
GO | |
IF OBJECT_ID('dbo.t1') IS NOT NULL | |
BEGIN | |
DROP TABLE dbo.t1 | |
COMMIT | |
END | |
GO | |
CREATE TABLE dbo.t1 (x INT); | |
GO |
using System; | |
using System.Runtime.CompilerServices; | |
namespace LocalFuncCreatesClass | |
{ | |
internal class Program | |
{ | |
private static Func<int> GetNextThing | |
{ | |
get; |
using System; | |
namespace LocalFuncCreatesClass | |
{ | |
class Program | |
{ | |
static Func<int> GetNextThing { get; set; } | |
static void Main(string[] args) | |
{ | |
SeparateFunction(); |
using System; | |
namespace LocalFuncCreatesClass | |
{ | |
class Program | |
{ | |
static Func<int> GetNextThing { get; set; } | |
static void Main(string[] args) | |
{ | |
var current = 2; |
#!/usr/bin/env python3 | |
from os.path import dirname, realpath | |
import sys | |
from timeit import Timer | |
sys.path.append(dirname(realpath(__file__))) | |
def ifway3(b): | |
a=1 | |
if not b == 0: |