Copy minecraft.service to /etc/systemd/system/
start.sh
goes in your Minecraft server folder.
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
{ lib, ... }: | |
{ | |
fileSystems."/export/1tb" = { | |
device = "/dev/disk/by-uuid/64de61f9-c996-4c22-a045-066782140a1c"; | |
label = "HD do antigo notebook"; | |
noCheck = true; | |
options = lib.mkDefault [ | |
"defaults" | |
"x-gvfs-show" |
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
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix | |
{ lib, ... }: | |
with lib.hm.gvariant; | |
{ | |
dconf.settings = { | |
"org/gnome/desktop/app-folders" = { | |
folder-children = [ "Utilities" "YaST" ]; | |
}; |
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
{ | |
"yaml.schemas": { | |
"file:///home/almino/.vscode/extensions/atlassian.atlascode-2.10.12/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml" | |
}, | |
"atlascode.jira.enabled": false, | |
"redhat.telemetry.enabled": true, | |
"terminal.external.linuxExec": "/usr/bin/fish", | |
"terminal.integrated.defaultProfile.linux": "fish", | |
"git.suggestSmartCommit": false, | |
"workbench.iconTheme": "vscode-icons", |
nautilus recent:///
https://superuser.com/a/1733383/172232
gsettings set org.gnome.shell.window-switcher current-workspace-only false
gsettings set org.gnome.shell.app-switcher current-workspace-only false
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
FROM composer | |
RUN chown -Rf 1000:33 /tmp \ | |
&& composer global require hirak/prestissimo |
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
<?php | |
# Include this file in your functions.php | |
add_shortcode('human-name', 'human_name'); | |
add_shortcode('human_name', 'human_name'); | |
add_shortcode('name', 'human_name'); | |
function human_name($atts, $content = null) { | |
return HumanName::parse($content); |
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
import { Address } from 'ngx-google-places-autocomplete/objects/address'; | |
export interface Price { | |
value: number | |
date: Date | |
place?: Address | |
url?: URL | |
} | |
export interface Measurement { |
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
export class CurrentGeolocation { | |
public static getGeolocation(options?: any) : Promise<Position> { | |
if (window.navigator.geolocation) { | |
/* https://gist.github.com/varmais/74586ec1854fe288d393 */ | |
return new Promise(function (resolve, reject) { | |
navigator.geolocation.getCurrentPosition(resolve, reject, options); | |
}); | |
} | |
} | |
} |
NewerOlder