Skip to content

Instantly share code, notes, and snippets.

View gregpalaci's full-sized avatar

Greg Palaci gregpalaci

  • Cactus & Dove Ltd.
  • London, UK
View GitHub Profile
@gregpalaci
gregpalaci / desktop-shortcut.md
Created January 5, 2023 22:35 — forked from gdjohn4s/desktop-shortcut.md
Create Ubuntu Desktop shortcut

How to create Desktop shortcut on ubuntu 18.04

To create a desktop shortcut on your ubuntu, just open gedit on desktop and paste those strings:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/snap/bin/skype
<!doctype html>
<html ng-app="Demo" ng-controller="AppController">
<head>
<meta charset="utf-8" />
<title>
Logging Client-Side Errors With AngularJS And Stacktrace.js
</title>
<style type="text/css">
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Backbone.js example</title>
<link rel="stylesheet" type="text/css" href="css/sunny/jqueryui.min.css"/>
</head>
<body>
<!-- "slider" is a jquery slider -->
<div id="slider"></div>
data:text/html, <style type="text/css">#e{position:absolute;top:0;right:0;bottom:0;left:0;}</style><div id="e"></div><script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script><script>var e=ace.edit("e");e.setTheme("ace/theme/monokai");e.getSession().setMode("ace/mode/ruby");</script>