Skip to content

Instantly share code, notes, and snippets.

View koiuo's full-sized avatar
🇺🇦
stop russian fascism

Dmytro Kostiuchenko koiuo

🇺🇦
stop russian fascism
View GitHub Profile

install crowdstrike falcon on nixos

  1. Copy your binaries (.deb package) to /opt/CrowdStrike.
  2. Add both .nix files from this page to your config.
  3. Write your companies ID to /etc/falcon-sensor.env in the format of COMPANYID="[id]".
  4. Apply nixos update.
  5. Check sensor status using systemctl status falcon-sensor (should be running if the nixos update succeeded)
@akoppela
akoppela / 80-pragmatapro.conf
Created November 29, 2021 13:54
Add font to NixOS
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<test name="family" compare="contains" ignore-blanks="true">
<string>PragmataPro</string>
</test>
<edit name="fontfeatures" mode="append">
@rawsh
rawsh / .Xresources
Last active May 26, 2024 03:59
.Xresources theme for rofi and terminal
! *----------------------------*
! | Dotfiles - .Xresources |
! *----------------------------*
! This files contains configuration for:
! * terminal colours
! * urxvt
! * rofi
@roadrunner2
roadrunner2 / 0 Linux-On-MBP-Late-2016.md
Last active December 28, 2024 01:50
Linux on MacBook Pro Late 2016 and Mid 2017 (with Touchbar)

Introduction

This is about documenting getting Linux running on the late 2016 and mid 2017 MPB's; the focus is mostly on the MacBookPro13,3 and MacBookPro14,3 (15inch models), but I try to make it relevant and provide information for MacBookPro13,1, MacBookPro13,2, MacBookPro14,1, and MacBookPro14,2 (13inch models) too. I'm currently using Fedora 27, but most the things should be valid for other recent distros even if the details differ. The kernel version is 4.14.x (after latest update).

The state of linux on the MBP (with particular focus on MacBookPro13,2) is also being tracked on https://github.com/Dunedan/mbp-2016-linux . And for Ubuntu users there are a couple tutorials (here and here) focused on that distro and the MacBook.

Note: For those who have followed these instructions ealier, and in particular for those who have had problems with the custom DSDT, modifying the DSDT is not necessary anymore - se

@dcode
dcode / GitHub Flavored Asciidoc (GFA).adoc
Last active December 17, 2024 08:45
Demo of some useful tips for using Asciidoc on GitHub

GitHub Flavored Asciidoc (GFA)

@powerman
powerman / AsciidocCheatsheet.adoc
Last active July 4, 2024 12:42
Asciidoc cheatsheet for GitHub

Asciidoc cheatsheet for GitHub

// Test.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream> // std::cout
#include <algorithm> // std::random_shuffle
#include <vector> // std::vector
#include <ctime> // std::time
#include <cstdlib> // std::rand, std::srand
# How to install `ipkg` on a Synology DS214
After a couple of days of trying to get `ipkg` woking on my DS214 I found [this article](https://github.com/trepmag/ds213j-optware-bootstrap) by [trepmag](https://github.com/trepmag). It is written for the DS213j, but it’s been working for me and [others](https://github.com/alberthild) for the DS214 too.
I have done some minor changed to clarify some things, but if you are a Linux guy (unlike me) my changes might be of no use to you.
## Guide