Skip to content

Instantly share code, notes, and snippets.

Ivan Mrvelj imrvelj

Block or report user

Report or block imrvelj

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@imrvelj
imrvelj / hp_kaby_sky.sh
Created Jun 26, 2017
A script that determines what your course of action should be with the newly discovered HyperThreading bug.
View hp_kaby_sky.sh
#!/usr/bin/perl
# Copyright 2017 Uwe Kleine-König
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License version 2 as published by the
# Free Software Foundation.
open(my $cpuinfo, "</proc/cpuinfo") or die "failed to open cpuinfo\n";
my $cpunum, $vendor, $family, $model, $stepping, $microcoderev, $hyperthreading;
View FirefoxDeveloper
[<16.04]
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make;
sudo apt update; sudo apt install ubuntu-make; umake web firefox-dev;
View legacy i3-gaps
# Variables
set $mod Mod4
set $ws1 "1: "
set $ws2 "2: "
set $ws3 "3: "
set $ws4 "4: "
set $ws5 "5: "
set $ws6 "6: "
set $ws7 "7: "
@imrvelj
imrvelj / install_intelr_graphic_linux_firmware.sh
Created Oct 20, 2017 — forked from zas/install_intelr_graphic_linux_firmware.sh
Fix "W: Possible missing firmware /lib/firmware/i915/kbl_dmc_ver1.bin for module i915_bpo" (Ubuntu 16.04, kernel 4.4)
View install_intelr_graphic_linux_firmware.sh
#!/bin/bash
cd
wget https://01.org/sites/default/files/downloads/intelr-graphics-linux/sklgucver61.tar.bz2 && \
tar xvjf sklgucver61.tar.bz2 && cd skl_guc_ver6_1/ && sudo ./install.sh
cd
wget https://01.org/sites/default/files/downloads/intelr-graphics-linux/kbldmcver101.tar.bz2 && \
View fetch-kex-errorcode
{
"Message": "An error has occurred.",
"ExceptionMessage": "An error occurred while updating the entries. See the inner exception for details.",
"ExceptionType": "System.Data.Entity.Infrastructure.DbUpdateException",
"StackTrace": " at System.Data.Entity.Internal.InternalContext.SaveChanges()\r\n at System.Data.Entity.Internal.LazyInternalContext.SaveChanges()\r\n at System.Data.Entity.DbContext.SaveChanges()\r\n at KODAKAPI.Controllers.KEX_ImagesController.DeleteKEX_Images(Int32 id)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellatio
View tslint via M$
{
"rulesDirectory": [
"dist/src"
],
"rules": {
"array-type": [true, "array"],
"arrow-return-shorthand": false,
"await-promise": false,
"adjacent-overload-signatures": false,
"align": [
View Madvillain - Madvillainy
https://www.youtube.com/watch?v=herNYSdJd0o&list=PL9dk_xtWpAkKs1-EKcvq-nKwdaaS-3czd
https://www.youtube.com/watch?v=herNYSdJd0o&list=PL9dk_xtWpAkKs1-EKcvq-nKwdaaS-3czd
https://www.youtube.com/watch?v=herNYSdJd0o&list=PL9dk_xtWpAkKs1-EKcvq-nKwdaaS-3czd
https://www.youtube.com/watch?v=herNYSdJd0o&list=PL9dk_xtWpAkKs1-EKcvq-nKwdaaS-3czd
https://www.youtube.com/watch?v=herNYSdJd0o&list=PL9dk_xtWpAkKs1-EKcvq-nKwdaaS-3czd
https://www.youtube.com/watch?v=herNYSdJd0o&list=PL9dk_xtWpAkKs1-EKcvq-nKwdaaS-3czd
https://www.youtube.com/watch?v=herNYSdJd0o&list=PL9dk_xtWpAkKs1-EKcvq-nKwdaaS-3czd
https://www.youtube.com/watch?v=herNYSdJd0o&list=PL9dk_xtWpAkKs1-EKcvq-nKwdaaS-3czd
https://www.youtube.com/watch?v=herNYSdJd0o&list=PL9dk_xtWpAkKs1-EKcvq-nKwdaaS-3czd
https://www.youtube.com/watch?v=herNYSdJd0o&list=PL9dk_xtWpAkKs1-EKcvq-nKwdaaS-3czd
View notifywatchers
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
View Docker @ Ubuntu
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
sudo apt install docker-ce
sudo usermod -aG docker ${USER}
View Google Button recommendations
Flat Button
---
Height: 36dp
Minimum width: 88dp
Touch target height: 48dp
Corner radius: 2dp
Horizontal margin: 8dp
Horizontal padding: 8dp
You can’t perform that action at this time.