This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Wipe Launchpad Database | |
sqlite3 ~/Library/Application\ Support/Dock/*.db “DELETE from apps; DELETE from groups WHERE title<>”; DELETE from items WHERE rowid>2;”; Killall Dock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// | |
/// THE <BLUEPRINT> BLOCK | |
/// | |
///============================================================================ | |
/// | |
/// @description | |
/// desc | |
/// | |
/// @usage | |
/// <div class="blueprint"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// | |
/// THE <blueprint> BLOCK | |
/// | |
///============================================================================ | |
/// | |
/// @description | |
/// desc | |
/// | |
///============================================================================ | |
/// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Layout = ({ location, initialData, routeData, authenticateUser }) => ( | |
<Wrapper> | |
<Container> | |
<Header> | |
<Navigation /> | |
</Header> | |
<Switch> | |
// how do I get these props passed through the HOC? render instead of component made no difference. | |
<Route exact path="/pages/page-one" component={() => <PageOne routeData={routeData} title="PageOne" />} /> | |
<Route exact path="/pages/page-two" component={() => <PageTwo routeData={routeData} title="PageTwo" />} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>ES6 and Legacy bundle loading</title> | |
</head> | |
<body> | |
Hi | |
<script> | |
// populate this on the server or via webpack | |
window.__APP_CHUNKS__ = { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Marlin 3D Printer Firmware | |
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] | |
* | |
* Based on Sprinter and grbl. | |
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm | |
* | |
* 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$spacing-mobile-tiny: 0.8rem; | |
$spacing-mobile-xsmall: 1.6rem; | |
$spacing-mobile-small: 2rem; | |
$spacing-mobile-medium: 2.4rem; | |
$spacing-mobile-large: 3.2rem; | |
$spacing-mobile-xlarge: 4rem; | |
$spacing-desktop-tiny: 1.6rem; | |
$spacing-mobile-xsmall: 2rem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$spacing-mobile-tiny: 0.8rem; | |
$spacing-mobile-xsmall: 1.6rem; | |
$spacing-mobile-small: 2rem; | |
$spacing-mobile-medium: 2.4rem; | |
$spacing-mobile-large: 3.2rem; | |
$spacing-mobile-xlarge: 4rem; | |
$spacing-desktop-tiny: 1.6rem; | |
$spacing-mobile-xsmall: 2rem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$spacing-mobile-tiny: 0.8rem; | |
$spacing-mobile-xsmall: 1.6rem; | |
$spacing-mobile-small: 2rem; | |
$spacing-mobile-medium: 2.4rem; | |
$spacing-mobile-large: 3.2rem; | |
$spacing-mobile-xlarge: 4rem; | |
$spacing-desktop-tiny: 1.6rem; | |
$spacing-mobile-xsmall: 2rem; |
OlderNewer