278 Matching Annotations
  1. Last 7 days
    1. Style definitions for nice terminal layouts. Built with TUIs in mind.

  2. Apr 2021
  3. Mar 2021
    1. A stub secret key that references your card’s serial number is stored locally in ~/.gnupg/private-keys-v1.d.

      A simple solution is just removing all the stubbed files:

      cd ~/.gnupg/private-keys-v1.d
      grep -Il shadowed-private-key * | xargs rm
      
    1. cargo-tree is useful for deduping and culling them.

      deduping multiple versions of a crate

    1. Outrun lets you execute a local command using the processing power of another Linux machine.

    1. If you want to add ‘tag1’ and ‘tag2’ to every line you’re importing, add the following to the top of the text file:

      tags:tag1 tag2

    2. {{c1::Canberra::city}} was founded in 1913

      .code

      [city] was founded in 1913.
      
    3. {{c2::Canberra}} was founded in {{c1::1913}}.

      .code

      Canberra was founded in [...].
      [...] was founded in 1913.
      
    1. Hopefully by now you can see that making a bunch of closures is really not going to be a good idea (!)
    2. Basically, the idea is you take your normal, garden-variety function and smear it out into a bunch of closures.
    1. Read articles distraction free on your Kindle, in your feed reader, or on paper.

    1. 我之前出过一期视频,《我是如何一点点变得自律高效的?》
    2. 2020:新的起点,冥想、修行、顿悟,发掘感性的力量
    3. 05追求优秀永无止境,终将陷入迷茫
    4. 04专注于过程,才能克服拖延与懒惰,获得永不停歇的能量
    5. 03无法想明白自己到底要的是什么,就常常容易半途而废
    6. 02我走过的弯路:放下对自己的评价、停止对努力本身附加意义
    7. 01享受过程,而不是追求优秀,才能达到想要的目标
    1. “It isn't the mountains ahead to climb that wear you out; it's the pebble in your shoe."  --Muhammad Ali
    1. 一是只用在幻灯片中的重点信息上;二是只用最简洁有力的动画效果,避免繁复、冗长的动画。
    2. 节制使用动画效果
    1. Hiplot (https://hiplot.org) is a free and comprehensive scientific data analysis and visualization tool based on web technology, which is supported by open source communities. It provides more simple web and command-line interfaces compared with other similar platforms.

    1. No worries, thanks for getting back to me and working with me on this. You didn't hurt us, there's no hard feelings. I think Hypercable is a cool project demonstrating some interesting tech :) We use AGPL to protect us from large corproations but if our code gets relicensed by somebody else under Apache, then we lose the protections. I hope you understand.Yes, the AGPL license is designed to be viral in this sense. If any AGPL code is used in a project, the whole project must be open sourced under the AGPL license. It's much more strict than MIT/Apache.This is what protects us from large corporations, for example Google has a policy to never use AGPL licensed code in their projects because it would force them to open-source their projects.> Once I have removed the references to AGPL v3, can I then change my project to another open source protocol, such as Apache v2 or MIT?Yes. For now you can change the project over to AGPL by just pushing a new license to the repo. Once you feel like your product is unique enough, doesn't look like Plausible, and doesn't use any of our code, you can change back to MIT/Apache. But when changing from AGPL to MIT/Apache, you need the permission of all the collaborators of the project.So, if during the time it's AGPL you accept any PRs or contributions, the contributors become copyright owners along with you and their written permission is required to change the license back.You can bypass this by not accepting any contributions while it's AGPL, or accepting contributions only with a Contributor License Agreement that signs the copyright of the contribution itself over to you. That way you remain the sole copyright owner and are free to change the license without anyone's permission.I hope this clarifies things a bit. We believe in using AGPL and recommend it, especially if you want to make money with your project. But you are the boss of your own project :)

      Plausible CEO's reply on AGPL license

    1. have no operations or business plan other than to acquire a private company using the money raised through an IPO, thereby enabling the latter to go public quickly.
    2. SPACs, or special purpose acquisition companies,
    1. SystemRescue (also known as SystemRescueCd) is a Linux system rescue toolkit available as a bootable medium for administrating or repairing your system and data after a crash.

  4. www.ventoy.net www.ventoy.net
    1. Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files.

      With ventoy, you don't need to format the disk over and over, you just need to copy the ISO/WIM/IMG/VHD(x)/EFI files to the USB drive and boot them directly.

    1. policies and procedures should be revisited regularly to ensure they don’t provide an unfair advantage based on hybridity

      Example: OKR

    1. Ubuntu Multipass name generator

      • One word: names.txt
      • Two words: adjectives.txt - names.txt
      • Three words: adverbs.txt + adjectives.txt + names.txt
    1. Edit and Proofread
    2. Write With Care
    3. Use the Rules of Storytelling
    4. For additional emphasis, use bold font. Read up on the BLUF (bottom line up front) method for additional insight on putting your best idea forward.
    5. Get to the Point
    6. Opt for them when you’re providing feedback and leave them out when you’re making an important point in a discussion.
    7. Be mindful of qualifiers.
    8. Keep it short. Don’t use more words than you need to.
    9. Write Concisely
    10. Read Gretchen McCulloch’s “We Learned to Write the Way We Talk” for insight on how flexible language can be the key to both connection.
    11. Check out Harvard Business Review’s “Bizspeak Blacklist” for the most common offenders including words and phrases like “synergy”, “value-add”, and “operationalize”.
    12. Write Clearly
    13. Opt for “it’s, there’s, and hasn’t” instead of “it is, there is, has not”.
    14. Write using contractions
    15. Write How You Speak
    16. Help your team write for an async-first style, using our guides on Writing Tips for Remote Workers (And Everyone Else), and How to Create Healthy Group Norms for Team Communication.
    17. Moving toward async as a team member
    18. It Doesn’t Have to Be Crazy at Work by Jason Fried and David Hennemeier Hansen of Basecamp
    19. How to go async-first as a team leader
    20. The case for async-first communication
    1. To fully support the use of SVGs on your site, make sure you're following other common best practices

      .h1

    1. Those best-positioned to outperform in the long run will have the capacity to innovate and reinvent around new business models that combine both human and technological capabilities.  
    2. Lesson No. 3: Compete on the rate of learning.
    3. By setting extraordinarily ambitious goals, leaders encourage their teams to break existing mental models and reimagine their business—thereby increasing the odds of identifying the growth opportunities required to outperform in the future.  
    4. Lesson No. 2: Set extraordinary ambitions.
    1. This way, when you modify just the tests, the cargo is smart to not recompile the library crate.

      .c2

    2. Second, prefer 1 2 #[cfg(test)] mod tests; // tests in `tests.rs` file

      .c1

    3. avoid doc tests in internal libraries for big projects and add this to Cargo.toml
      [lib]
      doctest = false
      
    1. 3⃣️查看地图是否切换至国际版

      查看地图是否为海外地区,只要点开地图右上角的小 i 看提供者是不是 tomtom

    2. 我这边多次尝试,是需要关掉 Siri 重新打开。

      Toggle “Suggestions while Searching” in Siri & Search.

  5. Feb 2021
    1. You can now create workflows that are manually triggered with the new workflow_dispatch event.
      on: 
        workflow_dispatch:
          inputs:
            logLevel:
              description: 'Log level'     
              required: true
              default: 'warning'
            tags:
              description: 'Test scenario tags'
      

      Use inputs in the job

      jobs:
        printInputs:
          runs-on: ubuntu-latest
          steps:
          - run: |
              echo "Log level: ${{ github.event.inputs.logLevel }}"
              echo "Tags: ${{ github.event.inputs.tags }}"
      
    1. 7. Park a command. Ctrl-q "parks" the command you're currently typing and takes you back to the prompt, letting you start over and type another command.
      • Alt-? - Show which command
      • Alt-h - Show man page of current command
    2. 5. Perform calculations from the command line like a calculator.

      zcalc

      • The result of the calculation on the line preceded by 4> is available as $4.
      • The constants PI (3.14159...) and E (2.71828...) are provided.
      • The variables ans (the last answer) and stack (the stack in RPN mode) may be referred to directly; stack is an array but elements of it are numeric.
    1. it's possible using git add --patch

      .c2

    2. staging parts of files, right?

      .c1

    3. git log --graph --abbrev-commit --decorate --all --format=format:"%C(bold blue)%h%C(reset) \ - %C(bold cyan)%aD%C(dim white) - \ %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)"

      git log graph

    1. This Is Marketing by Seth Godin

      .rl

    2. If I Understood You, Would I Have This Look on My Face? by Alan Alda

      .rl

    3. DataStory by Nancy Duarte.

      .rl

    4. 4. Read books on communication skills.

      .h1

    5. 3. Practice in front of family and pets.

      .h1

    6. 2. Record yourself.

      .h1

    7. 1. Watch one TED Talk a day.

      .h1

    1. 先拿到这个项目的 actions id (需要自行申请 token) curl https://api.github.com/repos/yihong0618/blog/actions/workflows -H "Authorization: token d8xxxxxxxxxx" # change to your config

      workflows.node_id

    1. A collection of inspiring lists, manuals, cheatsheets, blogs, hacks, one-liners, cli/web tools and more.

    1. 使用“迁移助理”将您的所有文稿、App、用户帐户和设置从一台电脑拷贝到另一台新 Mac 上。

    1. 这张后面的 3D 字体用的是 Threedi 这款 App。
    2. 上图的光线,我使用的是 Aliensky 这个 App 直接添加。

      Alien Sky by BrainFeverMedia

    3. Union 制作的字体遮罩
    4. iPhone 用的是一个叫 Sceneshot 的 3D 版带壳截屏软件,可以在三维空间里手动随意改变角度。
    5. 为了实现铅笔素描的效果,用了 My Sketch 这款 App,然后通过混合模式就可以自然的印在牛皮纸上。
    6. 头骨和彩色喷溅物则是使用 Glitché
    7. 牙齿崩裂的效果是用 Picsart App 制作的
    8. 像这种简单的加字我基本都是用 Phonto,文字可以自动居中,大字体 + 小字体调大字间距会更好看
    9. Apple ProRAW 居然可以免费编辑,然后试了一下其他 App 拍摄的 Raw 格式文件也是可以直接免费编辑的。

      .c2

    10. 调色使用 Lightroom

      .c1

    11. 这张底部反射面使用的是 Aliensky 开发商的另一款 App:Reflect Mirror Camera
    1. One such image - or rather set of images - is Distroless made by Google.
    2. we should not allow Docker to run with root user, but rather use so-called rootless mode. There's whole guide on how one can set that up in Docker docs
    1. Another tool in this space is GitHub’s scientist.
    2. Diffy is a Scala based tool open sourced by Twitter in 2015. The blog post titled Testing without Writing Tests is probably the best resource to understand how tap compare works in practice.
    1. we borrowed an idea from the data mining community — sequential pattern mining — to help track the order that events appear in traces.
    2. we leveraged the PrefixSpan algorithm, which is well known for being highly efficient at sequential pattern mining.
    3. More technical information is available in our paper “Scalable statistical root cause analysis on app telemetry.”
    1. the blog series “Coding for SSDs” series is a an excellent resource
    2. Facebook’s paper on their Gorilla TSDB describes a similar chunk-based approach and introduces a compression format that reduces 16 byte samples to an average of 1.37 bytes.

    Tags

    Annotators

    URL

    1. paper COVID-19, lockdowns and well-being: Evidence from Google Trends in the Journal of Public Economics.

      paper

    1. 3. Function block diagram; http://en.wikipedia.org/wiki/Function_block_diagram.
    2. 4. Gregg, B. 2009. 7410 hardware update, and analyzing the HyperTransport; dtrace.org/blogs/brendan/2009/09/22/7410-hardware-update-and-analyzing-thehypertransport/.
    1. All platforms. Professional features. Beautiful UI. Totally free. FontBase is the font manager of the new generation, built by designers, for designers.

    1. Next.js gives you the best developer experience with all the features you need for production: hybrid static & server rendering, TypeScript support, smart bundling, route pre-fetching, and more. No config needed.

    1. While a program icon is selected, press Ctrl + Shift + Enter,

      .c1

      Ctrl + Shift + Win + Number to launch the programs pined in the task bar in admin mode.

    2. the program will then launch in admin mode.

      .c2

    1. Example

      .h2

    2. Conflict Resolution Diagram

      .h1

    3. Untools - Tools for better thinking

      Collection of thinking tools and frameworks to help you solve problems, make decisions and understand systems.

    1. Don't go around saying{-- to people that--} the world owes you a living. The world owes you nothing. It was here first. {~~One~>Only one~~} thing is impossible for God: To find {++any++} sense in any copyright law on the planet. {==Truth is stranger than fiction==}{>>strange but true<<}, but it is because Fiction is obliged to stick to possibilities; Truth isn’t.

      .example

    1. Optimize your learning on YouTube.

      Take notes on videos and capture the key takeaways.

      Similar services: