Skip to content

Instantly share code, notes, and snippets.

View Sheridan's full-sized avatar
🖥️
I may be slow to respond.

Горлов Максим Sheridan

🖥️
I may be slow to respond.
  • Минеральные Воды
  • 13:41 (UTC +03:00)
View GitHub Profile
@Sheridan
Sheridan / struct.go
Created August 7, 2019 21:05
NFTables go struct
type AutoGenerated struct {
Nftables []struct {
Table struct {
Family string `json:"family"`
Name string `json:"name"`
Handle int `json:"handle"`
} `json:"table,omitempty"`
Chain struct {
Family string `json:"family"`
Table string `json:"table"`
import React, { Component } from "react";
import "./App.css";
import MQTT from "mqtt";
import RTChart from "react-rt-chart";
class App extends Component {
constructor(props) {
super(props);
this.state = {
url: "",
@Sheridan
Sheridan / linum-highligth-current-line-number.el
Last active January 26, 2016 08:08
Emacs: linum extension to highlight the current line number.
;; Copyright (C) 2014 Emanuele Tomasi <targzeta@gmail.com>
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the