Skip to content

Instantly share code, notes, and snippets.

View bogdibota's full-sized avatar
⚛️

Bogdan Bota bogdibota

⚛️
View GitHub Profile
@bogdibota
bogdibota / installer.nsh
Last active September 25, 2023 04:25
electron-builder nsis install c++ redist 2017-2019
!include LogicLib.nsh
!macro customInit
Var /GLOBAL VCRedistDownload
${If} ${RunningX64}
;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.21,bundle\Dependents\{f4220b74-9edd-4ded-bc8b-0342c1e164d8}
;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.22,bundle\Dependents\{6361b579-2795-4886-b2a8-53d5239b6452}
;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.23,bundle\Dependents\{852adda4-4c78-4a38-b583-c0b360a329d6}
;HKCR\Installer\Dependencies\VC,redist.x64,amd64,14.24,bundle\Dependents\{282975d8-55fe-4991-bbbb-06a72581ce58}
@bogdibota
bogdibota / Layout.js
Created June 14, 2017 08:19
next.js and material-ui
import { Component } from 'react';
import styled from 'styled-components';
import { MuiThemeProvider, getMuiTheme } from 'material-ui/styles';
import injectTapEventPlugin from 'react-tap-event-plugin';
import AppBar from 'material-ui/AppBar';
if (typeof window !== 'undefined') {
injectTapEventPlugin();
}