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 / Knex-Migrations-Seeding.md
Created Jun 29, 2019 — forked from NigelEarle/Knex-Migrations-Seeding.md
Migration and seeding instructions using Knex.js!
View Knex-Migrations-Seeding.md

Migrations & Seeding

What are migrations??

Migrations are a way to make database changes or updates, like creating or dropping tables, as well as updating a table with new columns with constraints via generated scripts. We can build these scripts via the command line using knex command line tool.

To learn more about migrations, check out this article on the different types of database migrations!

Creating/Dropping Tables

View Arch Linux mkinitcpio: Possibly missing firmware for module.md

Problem

In Arch Linux mkinitcpio -p linux

shows

Possibly missing firmware for module: aic94xx
 Possibly missing firmware for module: wd719x
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
View notifywatchers
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
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 tslint via M$
{
"rulesDirectory": [
"dist/src"
],
"rules": {
"array-type": [true, "array"],
"arrow-return-shorthand": false,
"await-promise": false,
"adjacent-overload-signatures": false,
"align": [
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
@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 && \
You can’t perform that action at this time.